C# Class PhotoSharingApp.Universal.Services.AuthenticationHandler

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

Méthodes publiques

Méthode 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 méthode

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

AuthenticationHandler() public méthode

Initializes a new instance of the AuthenticationHandler class.
public AuthenticationHandler ( ) : System
Résultat System

LogoutAsync() public méthode

Logs the user out.
public LogoutAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

ResetPasswordVault() public méthode

Clears the password vault.
public ResetPasswordVault ( ) : void
Résultat void

RestoreSignInStatus() public méthode

Restores the sign in status.
public RestoreSignInStatus ( ) : Task
Résultat Task