Table of Contents

Class Auth

Namespace
Coherence.Runtime
Assembly
Coherence.Runtime.dll
[Obsolete("You should use the CloudService instance from CoherenceBridge to communicate with the coherence Cloud.")]
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

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()