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
SessionTokenRefreshResult
Result? SessionTokenRefreshResult { get; }
Property Value
- Result?
UserId
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()
Events
OnConcurrentConnection
event Action<ConnectionClosedResponse> OnConcurrentConnection
Event Type
- Action<ConnectionClosedResponse>
OnLogin
event Action<LoginResponse> OnLogin
Event Type
- Action<LoginResponse>
OnLogout
Event Type
- Action
OnSessionRefreshed
event Action<Result> OnSessionRefreshed
Event Type
- Action<Result>