Interface IAuthClient
- Namespace
- Coherence.Cloud
- Assembly
- Coherence.Runtime.dll
public interface IAuthClient
Properties
GuestPassword
string GuestPassword { get; }
Property Value
- string
LoggedIn
Property Value
- bool
SessionToken
string SessionToken { get; }
Property Value
- string
UserName
Property Value
- string
Methods
LoginAsGuest()
Task<Result> LoginAsGuest()
Returns
- Task<Result>
LoginWithPassword(string, string, bool)
Task<Result> LoginWithPassword(string userName, string password, bool autosignup)
Parameters
userName
string
password
string
autosignup
bool
Returns
- Task<Result>
Logout()
RefreshSession()
Task<Result> RefreshSession()
Returns
- Task<Result>
Events
OnLogin
event Action<LoginResponse> OnLogin
Event Type
- Action<LoginResponse>
OnLogout
Event Type
- Action