Table of Contents

LoginResult

class in Coherence.Cloud

Represents the result of an IAuthClient login operation.

Constructors
LoginResult
Properties
EqualityContract
ErrorMessage
ErrorType
GuestPassword

Automatically generated random password for the user, if the user was successfully logged in as a guest; otherwise, an empty string.

KeyValuePairStoreState
LobbyIds
LoggedIn

true if the login operation was successful, or if it was cancelled because the client is already logged in; otherwise, false.

SessionToken

Token uniquely identifying the logged-in user or guest.

The token can be stored on the user's device locally, and later used to log in to coherence Cloud again using the same credentials, without the user needing to provide them again.

Type

Describes the type of the result.

Success if the login operation was successful; otherwise, the type of login failure.

UserId

Identifier for the user, if they successfully logged in; otherwise, an empty string.

Username

Username of the user that was successfully logged in using a password, or as a guest; otherwise, an empty string.

Methods
Equals
GetHashCode
PrintMembers
ToString
Operators
op_Equality
op_Implicit
op_Inequality
See Also