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

OAuth 2.0 verification code receiver for Windows 8 application that opens an embedded Google account form to enter the user's credentials and accepts the application access to its token.
상속: ICodeReceiver
파일 보기 프로젝트 열기: Gainedge/BetterExplorer

공개 메소드들

메소드 설명
ReceiveCodeAsync ( Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken ) : Task

비공개 메소드들

메소드 설명
InvokeFromUIThread ( System.Action action ) : Task
ReceiveCodeAsync ( Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl url, TaskCompletionSource tcs ) : Task

Asynchronously receives the authorization code.

ReceivedCodeCoreAsync ( Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken ) : Task

The core logic for retrieving the authorization code. It MUST be called from the UI thread.

메소드 상세

ReceiveCodeAsync() 공개 메소드

public ReceiveCodeAsync ( Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken ) : Task
url Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl
taskCancellationToken System.Threading.CancellationToken
리턴 Task