C# Class MediaAppSample.Core.Services.AuthorizationManager

Inheritance: ServiceBase, IServiceSignout
Afficher le fichier Open project: Microsoft/TVHelpers

Méthodes publiques

Méthode Description
IsAuthenticated ( ) : bool

Indicates whether or not a user is authenticated into this app.

SignoutAsync ( ) : System.Threading.Tasks.Task

Signs the user out of the application and removes and credential data from storage / credential locker.

Méthodes protégées

Méthode Description
Initialize ( ) : void

Initialization logic which is called on launch of this application.

Private Methods

Méthode Description
AuthorizationManager ( ) : MediaAppSample.Core.Models
NotifyUserAuthenticated ( ) : void

Notify any subscribers that the user authentication status has changed.

SetUser ( UserResponse response ) : void

Sets the current user of the app.

Method Details

Initialize() protected méthode

Initialization logic which is called on launch of this application.
protected Initialize ( ) : void
Résultat void

IsAuthenticated() public méthode

Indicates whether or not a user is authenticated into this app.
public IsAuthenticated ( ) : bool
Résultat bool

SignoutAsync() public méthode

Signs the user out of the application and removes and credential data from storage / credential locker.
public SignoutAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task