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

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

Private Properties

프로퍼티 타입 설명
Cleanup void
DeleteUsersWebAccountDetails void
GetProvider Task
GetProviderInfo WebAccountProviderInfo
GetWebAccount Task
GetWebAccountInfo WebAccountInfo
HasWebAccountInfo bool
OnAccountCommandsRequested void
OnWebAccountProviderRequested void
OnWebAccountRequested void
SaveWebAccountInfo void
SignoutAsync System.Threading.Tasks.Task
SignoutAsync System.Threading.Tasks.Task
WebAccountManager System

공개 메소드들

메소드 설명
Show ( WebAccountManangerSuccessHandler successHandler, WebAccountManangerFailedHandler failedHandler ) : void

Displays the Web Account Manager for users to chose an account to authenticate with.

SignoutAsync ( ) : System.Threading.Tasks.Task

Signs the current user out of all web accounts.

비공개 메소드들

메소드 설명
Cleanup ( ) : void

Clean up after displaying the web account manager.

DeleteUsersWebAccountDetails ( WebAccountTypes type ) : void

Deletes an authenticated account from storage.

GetProvider ( string providerID, string authority ) : Task

Gets a provider by ID.

GetProviderInfo ( string providerID ) : WebAccountProviderInfo

Gets a provider info by ID.

GetWebAccount ( WebAccountTypes type ) : Task

Gets a web account by type.

GetWebAccountInfo ( WebAccountTypes type ) : WebAccountInfo

Retrieves an authenticated account details from storage.

HasWebAccountInfo ( WebAccountTypes type ) : bool

Indicates whether or not an account is stored in storage.

OnAccountCommandsRequested ( AccountsSettingsPane sender, AccountsSettingsPaneCommandsRequestedEventArgs e ) : void
OnWebAccountProviderRequested ( WebAccountProviderCommand cmd ) : void
OnWebAccountRequested ( WebAccountCommand cmd, WebAccountInvokedArgs args ) : void
SaveWebAccountInfo ( WebAccountInfo wi ) : void

Saves an authenticated account to storage.

SignoutAsync ( WebAccountProviderInfo pi ) : System.Threading.Tasks.Task

Signs a user out of the specified provider.

SignoutAsync ( string providerID ) : System.Threading.Tasks.Task

Signs a user out of the specified provider.

WebAccountManager ( ) : System

메소드 상세

Show() 공개 메소드

Displays the Web Account Manager for users to chose an account to authenticate with.
public Show ( WebAccountManangerSuccessHandler successHandler, WebAccountManangerFailedHandler failedHandler ) : void
successHandler WebAccountManangerSuccessHandler Call back for when an account is successfully choosen by the user.
failedHandler WebAccountManangerFailedHandler Call back for when an error or cancelled UI occurs by the user.
리턴 void

SignoutAsync() 공개 메소드

Signs the current user out of all web accounts.
public SignoutAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task