C# 클래스 Google.Apis.Auth.OAuth2.AuthorizationCodeWPInstalledApp

Thread-safe OAuth 2.0 authorization code flow for a Windows Phone installed application that persists end-user credentials. The AuthorizeAsync method MUST be called from the dispatcher thread! This installed app class uses an internal AuthorizationCodeInstalledApp with a Google.Apis.Auth.OAuth2.AuthorizationCodeBroker for retrieving the authorization code.
상속: IAuthorizationCodeInstalledApp
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 메소드들

메소드 설명
AuthorizationCodeWPInstalledApp ( Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow authorizationCodeFlowInitializer ) : System

Constructs a new authorization code installed application for WP.

AuthorizeAsync ( string userId, CancellationToken taskCancellationToken ) : Task

메소드 상세

AuthorizationCodeWPInstalledApp() 공개 메소드

Constructs a new authorization code installed application for WP.
public AuthorizationCodeWPInstalledApp ( Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow authorizationCodeFlowInitializer ) : System
authorizationCodeFlowInitializer Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow A authorization code flow initializer.
리턴 System

AuthorizeAsync() 공개 메소드

public AuthorizeAsync ( string userId, CancellationToken taskCancellationToken ) : Task
userId string
taskCancellationToken System.Threading.CancellationToken
리턴 Task