aerogear-xamarin-sdk
AeroGear Xamarin SDK
|
Interface for an auth service module IServiceModule. More...
Public Member Functions | |
User | CurrentUser () |
Retrieve the current user. More... | |
Task< User > | Authenticate (IAuthenticateOptions authenticateOptions) |
Initiate an authentication flow. More... | |
void | Configure (AuthenticationConfig authConfig) |
Configure the service module. More... | |
Task< bool > | Logout (User user) |
Logout the specified user. More... | |
Public Member Functions inherited from AeroGear.Mobile.Core.IServiceModule | |
void | Destroy () |
Called when singleThreadService destroyed. More... | |
void | Configure (MobileCore core, ServiceConfiguration config) |
Additional Inherited Members | |
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... | |
Interface for an auth service module IServiceModule.
Task<User> AeroGear.Mobile.Auth.IAuthService.Authenticate | ( | IAuthenticateOptions | authenticateOptions | ) |
Initiate an authentication flow.
Implemented in AeroGear.Mobile.Auth.AbstractAuthService.
void AeroGear.Mobile.Auth.IAuthService.Configure | ( | AuthenticationConfig | authConfig | ) |
Configure the service module.
authConfig | Authentication configuration. |
Implemented in AeroGear.Mobile.Auth.AbstractAuthService.
User AeroGear.Mobile.Auth.IAuthService.CurrentUser | ( | ) |
Retrieve the current user.
Implemented in AeroGear.Mobile.Auth.AbstractAuthService.
Task<bool> AeroGear.Mobile.Auth.IAuthService.Logout | ( | User | user | ) |