C# 클래스 MediaAppSample.Core.Services.AuthorizationManager

상속: ServiceBase, IServiceSignout
파일 보기 프로젝트 열기: Microsoft/TVHelpers

공개 메소드들

메소드 설명
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