Table of Contents

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

isLegacy bool
authenticatedIdentity Identity

Fields

AuthenticatedIdentity

Remotely checked or determined identity.

[Key(1)]
public readonly Identity? AuthenticatedIdentity

Field Value

Identity

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

bool

Methods

Authenticated(bool, Identity)

public static ConnectResult Authenticated(bool isLegacy, Identity authenticatedIdentity)

Parameters

isLegacy bool
authenticatedIdentity Identity

Returns

ConnectResult

Connected(bool)

public static ConnectResult Connected(bool isLegacy)

Parameters

isLegacy bool

Returns

ConnectResult