Class ConnectResult
- Namespace
- The.Persistence
- Assembly
- Instagile.dll
[MessagePackObject(false)]
public class ConnectResult
- Inheritance
-
ConnectResult
- Derived
- Inherited Members
Constructors
ConnectResult(bool, Identity?)
[SerializationConstructor]
public ConnectResult(bool isLegacy, Identity? authenticatedIdentity)
Parameters
Fields
AuthenticatedIdentity
Remotely checked or determined identity.
[Key(1)]
public readonly Identity? AuthenticatedIdentity
Field Value
Remarks
In theory, this could contain information about the remote authenticator. Right now, it's always Realm.Account.
IsLegacy
True if the remote model is in legacy mode.
[Key(0)]
public readonly bool IsLegacy
Field Value
Methods
Authenticated(bool, Identity)
public static ConnectResult Authenticated(bool isLegacy, Identity authenticatedIdentity)
Parameters
Returns
Connected(bool)
public static ConnectResult Connected(bool isLegacy)
Parameters
isLegacybool