Interface IAuthClient
public interface IAuthClient
Properties
GuestPassword
string GuestPassword { get; }
Property Value
LoggedIn
bool LoggedIn { get; }
Property Value
SessionToken
string SessionToken { get; }
Property Value
SessionTokenRefreshResult
Result? SessionTokenRefreshResult { get; }
Property Value
UserId
string UserId { get; }
Property Value
UserName
string UserName { get; }
Property Value
Methods
LoginAsGuest()
Task<Result> LoginAsGuest()
Returns
LoginWithPassword(string, string, bool)
Task<Result> LoginWithPassword(string userName, string password, bool autoSignup)
Parameters
Returns
Logout()
void Logout()
Events
OnConcurrentConnection
event Action<ConnectionClosedResponse> OnConcurrentConnection
Event Type
OnLogin
event Action<LoginResponse> OnLogin
Event Type
OnLogout
event Action OnLogout
Event Type
OnSessionRefreshed
event Action<Result> OnSessionRefreshed