C# Class PhotoSharingApp.Universal.Services.AuthenticationHandler

Helper calss for doing authentication & managing auth status using Azure Mobile Services.
Inheritance: IAuthenticationHandler
Mostrar archivo Open project: Microsoft/Appsample-Photosharing

Public Methods

Method Description
AuthenticateAsync ( MobileServiceAuthenticationProvider provider ) : System.Threading.Tasks.Task

Starts the authentication process.

AuthenticationHandler ( ) : System

Initializes a new instance of the AuthenticationHandler class.

LogoutAsync ( ) : System.Threading.Tasks.Task

Logs the user out.

ResetPasswordVault ( ) : void

Clears the password vault.

RestoreSignInStatus ( ) : Task

Restores the sign in status.

Method Details

AuthenticateAsync() public method

Starts the authentication process.
public AuthenticateAsync ( MobileServiceAuthenticationProvider provider ) : System.Threading.Tasks.Task
provider MobileServiceAuthenticationProvider The provider to authenticate with.
return System.Threading.Tasks.Task

AuthenticationHandler() public method

Initializes a new instance of the AuthenticationHandler class.
public AuthenticationHandler ( ) : System
return System

LogoutAsync() public method

Logs the user out.
public LogoutAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

ResetPasswordVault() public method

Clears the password vault.
public ResetPasswordVault ( ) : void
return void

RestoreSignInStatus() public method

Restores the sign in status.
public RestoreSignInStatus ( ) : Task
return Task