C# Class PhotoSharingApp.Universal.Services.AuthEnforcementHandler

Handles authentication enforcement.
Inheritance: IAuthEnforcementHandler
Mostrar archivo Open project: Microsoft/Appsample-Photosharing

Public Methods

Method 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

Method Description
AppEnvironment_CurrentUserChanged ( object sender, User e ) : void

Method Details

AuthEnforcementHandler() public method

public AuthEnforcementHandler ( ) : System.Threading.Tasks
return System.Threading.Tasks

CheckUserAuthentication() public method

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
return System.Threading.Tasks.Task