Class Auth
- Namespace
- Coherence.Runtime
- Assembly
- Coherence.Runtime.dll
[Obsolete("You should use the CloudService instance from CoherenceBridge to communicate with the coherence Cloud.")]
[Deprecated("01/03/2023", 1, 0, 0, Reason = "PlayClient has been deprecated, moved to non-static context, use CloudService instead.")]
public static class Auth
- Inheritance
-
Auth
Properties
LoggedIn
public static bool LoggedIn { get; }
Property Value
- bool
SessionToken
public static string SessionToken { get; }
Property Value
- string
UserName
public static string UserName { get; }
Property Value
- string
Methods
IsLoggedIn()
public static Task<Result> IsLoggedIn()
Returns
- Task<Result>
LoginAsGuest()
public static Task<Result> LoginAsGuest()
Returns
- Task<Result>
LoginWithPassword(string, string, bool)
public static Task<Result> LoginWithPassword(string userName, string password, bool autosignup)
Parameters
userName
string
password
string
autosignup
bool
Returns
- Task<Result>
Logout()
public static void Logout()