aerogear-xamarin-sdk
AeroGear Xamarin SDK
|
Abstract base class for authenticators. More...
Public Member Functions | |
AbstractAuthenticator (AuthenticationConfig authenticationConfig, KeycloakConfig keycloakConfig, ICredentialManager credentialManager, IHttpServiceModule httpServiceModule, ILogger logger) | |
Initializes a new instance of the T:AeroGear.Mobile.Auth.Authenticator.AbstractAuthenticator class. More... | |
async Task< bool > | Logout (User currentUser) |
Logout the specified currentUser. More... | |
abstract Task< User > | Authenticate (IAuthenticateOptions authenticateOptions) |
Perform the authentication request More... | |
Protected Attributes | |
readonly AuthenticationConfig | authenticationConfig |
readonly KeycloakConfig | keycloakConfig |
readonly ICredentialManager | credentialManager |
readonly IHttpServiceModule | httpService |
readonly ILogger | logger |
Abstract base class for authenticators.
AeroGear.Mobile.Auth.Authenticator.AbstractAuthenticator.AbstractAuthenticator | ( | AuthenticationConfig | authenticationConfig, |
KeycloakConfig | keycloakConfig, | ||
ICredentialManager | credentialManager, | ||
IHttpServiceModule | httpServiceModule, | ||
ILogger | logger | ||
) |
Initializes a new instance of the T:AeroGear.Mobile.Auth.Authenticator.AbstractAuthenticator class.
authenticationConfig | Authentication config. |
keycloakConfig | Keycloak config. |
credentialManager | Credential manager. |
httpServiceModule | Http service module. |
logger | Logger. |
|
pure virtual |
Perform the authentication request
authenticateOptions | Authenticate options. See IAuthenticateOptions |
Implements AeroGear.Mobile.Auth.Authenticator.IAuthenticator.
async Task<bool> AeroGear.Mobile.Auth.Authenticator.AbstractAuthenticator.Logout | ( | User | currentUser | ) |
Logout the specified currentUser.
currentUser | User to be logged out. |
Implements AeroGear.Mobile.Auth.Authenticator.IAuthenticator.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |