aerogear-xamarin-sdk
AeroGear Xamarin SDK
|
Abstract implementation of IAuthService. More...
Public Member Functions | |
abstract User | CurrentUser () |
Retrieve the current user. More... | |
AbstractAuthService (MobileCore mobileCore=null, ServiceConfiguration serviceConfig=null) | |
Initializes a new instance of the T:AeroGear.Mobile.Auth.AbstractAuthService class. More... | |
abstract void | Configure (AuthenticationConfig authConfig) |
Configure the service module. More... | |
Task< User > | Authenticate (IAuthenticateOptions authenticateOptions) |
Initiate an authentication flow. More... | |
void | Destroy () |
Perform teardown steps that should be done before destroying the instance. More... | |
Task< bool > | Logout (User user) |
Logout the specified user. More... | |
void | Configure (MobileCore core, ServiceConfiguration config) |
Public Attributes | |
string | Type => "keycloak" |
bool | RequiresConfiguration => false |
string | Id => null |
Protected Attributes | |
readonly KeycloakConfig | KeycloakConfig |
readonly MobileCore | Core |
Properties | |
CredentialManager | CredentialManager [get, set] |
AuthenticationConfig | AuthenticationConfig [get] |
IAuthenticator | Authenticator [get, set] |
Properties inherited from AeroGear.Mobile.Core.IServiceModule | |
String | Id [get] |
String | Type [get] |
Type/name used in the mobile-singleThreadService.json More... | |
bool | RequiresConfiguration [get] |
Whether the singleThreadService module requires its singleThreadService configuration to be defined or if it can be null. If this is More... | |
Abstract implementation of IAuthService.
AeroGear.Mobile.Auth.AbstractAuthService.AbstractAuthService | ( | MobileCore | mobileCore = null , |
ServiceConfiguration | serviceConfig = null |
||
) |
Initializes a new instance of the T:AeroGear.Mobile.Auth.AbstractAuthService class.
mobileCore | Mobile core. |
serviceConfig | Service config. |
Task<User> AeroGear.Mobile.Auth.AbstractAuthService.Authenticate | ( | IAuthenticateOptions | authenticateOptions | ) |
Initiate an authentication flow.
authenticateOptions | Authenticate options. |
Implements AeroGear.Mobile.Auth.IAuthService.
|
pure virtual |
Configure the service module.
authConfig | Authentication configuration. |
Implements AeroGear.Mobile.Auth.IAuthService.
void AeroGear.Mobile.Auth.AbstractAuthService.Configure | ( | MobileCore | core, |
ServiceConfiguration | config | ||
) |
Implements AeroGear.Mobile.Core.IServiceModule.
|
pure virtual |
void AeroGear.Mobile.Auth.AbstractAuthService.Destroy | ( | ) |
Perform teardown steps that should be done before destroying the instance.
Implements AeroGear.Mobile.Core.IServiceModule.
Task<bool> AeroGear.Mobile.Auth.AbstractAuthService.Logout | ( | User | user | ) |
Logout the specified user.
user | The user to logout. |
Implements AeroGear.Mobile.Auth.IAuthService.
|
protected |
string AeroGear.Mobile.Auth.AbstractAuthService.Id => null |
|
protected |
bool AeroGear.Mobile.Auth.AbstractAuthService.RequiresConfiguration => false |
string AeroGear.Mobile.Auth.AbstractAuthService.Type => "keycloak" |
|
getprotected |
|
getsetprotected |
|
getsetprotected |