C# Класс MediaAppSample.Core.Services.AuthorizationManager

Наследование: ServiceBase, IServiceSignout
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Initialize ( ) : void

Initialization logic which is called on launch of this application.

Приватные методы

Метод Описание
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.

Описание методов

Initialize() защищенный Метод

Initialization logic which is called on launch of this application.
protected Initialize ( ) : void
Результат void

IsAuthenticated() публичный Метод

Indicates whether or not a user is authenticated into this app.
public IsAuthenticated ( ) : bool
Результат bool

SignoutAsync() публичный Метод

Signs the user out of the application and removes and credential data from storage / credential locker.
public SignoutAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task