Skip to main content

ILoginPreferences

An interface in Alta.Authentication, Alta.Authentication.

Client-side storage for login details: whether to remember them, the saved username and the refresh token.

Properties​

MemberWhat it is
string RefreshToken { get; }The saved refresh token used to sign in again without a password.
bool RememberDetails { get; set; }Whether the player chose to have their login remembered.
string SavedUsername { get; set; }The username to prefill on the login screen.

Methods​

MemberWhat it is
void ClearCredentials()Forgets the saved login credentials.
void SaveCredentials(LoginCredentials credentials)Stores the credentials from a successful login.

Used in​

Members of other types that take, return or hold a ILoginPreferences: