AuthenticationUtility
A class in Alta.Authentication, Alta.Authentication.
Logs the game into the Alta API by refresh token, command line arguments, username and password, or OAuth client credentials. Registered as IAuthenticationUtility in ApplicationLifetimeScope.
- Listed in Other Alta assemblies
- Inherits or implements
IAuthenticationUtility - Attributes
Preserve,UsedImplicitly - Documented in Alta assemblies, Startup and app state
Constructors
| Member | What it is |
|---|---|
AuthenticationUtility(IHighLevelApiClient apiClient, ILoginPreferences loginPreferences) | Creates an AuthenticationUtility from apiClient and loginPreferences. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private readonly IHighLevelApiClient apiClient | The high-level API client used to log in. |
private static readonly Logger logger | NLog logger for this class. |
private readonly ILoginPreferences loginPreferences | Saved login preferences, read for the refresh token. |