Table of Contents

IAuthClient

interface in Coherence.Cloud

Specifies a set of methods that can be used to log in to coherence Cloud, properties to determine if we are currently logged in or not, and events for getting notified about relevant things happening.

Properties
LoggedIn

Is the client currently logged in to coherence Cloud?

Methods
LoginAsGuest

Login to coherence Cloud using a guest account, without providing any username or password.

LoginWithEpicGames

Login to coherence Cloud using an Epic Games account.

LoginWithJwt

Login to coherence Cloud using a custom JSON Web Token (JWT).

LoginWithNintendo

Login to coherence Cloud using a Nintendo Account.

LoginWithOneTimeCode

Login to coherence Cloud using a one-time code.

LoginWithPassword

Login to coherence Cloud using a specific account with a username and password.

LoginWithPlayStation

Login to coherence Cloud using a PlayStation Network account.

LoginWithSessionToken

Login to coherence Cloud using a SessionToken acquired from the result of a previous login operation.

LoginWithSteam

Login to coherence Cloud using a Steam account.

LoginWithXbox

Login to coherence Cloud using an Xbox profile.

Logout

Clear the cached Login credentials and be considered as logged out from the coherence Cloud.

Events
OnError

Event that is invoked when a login request has failed, and when the client's connection to coherence Cloud has been forcefully closed by the server.

Type describes the type of the failure.

OnLogin

Event that is invoked when the client has successfully logged in to coherence Cloud.

OnLogout

Event that is invoked when the client has logged out from coherence Cloud.