C# Class PhotoSharingApp.Universal.Services.AuthEnforcementHandler

Handles authentication enforcement.
Inheritance: IAuthEnforcementHandler
Afficher le fichier Open project: Microsoft/Appsample-Photosharing

Méthodes publiques

Méthode Description
AuthEnforcementHandler ( ) : System.Threading.Tasks
CheckUserAuthentication ( ) : System.Threading.Tasks.Task

Requires a user to be signed in successfully. If not signed in already, the user will be prompted to do so.

Private Methods

Méthode Description
AppEnvironment_CurrentUserChanged ( object sender, User e ) : void

Method Details

AuthEnforcementHandler() public méthode

public AuthEnforcementHandler ( ) : System.Threading.Tasks
Résultat System.Threading.Tasks

CheckUserAuthentication() public méthode

Requires a user to be signed in successfully. If not signed in already, the user will be prompted to do so.
When sign-in was not successful.
public CheckUserAuthentication ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task