Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.Auth.OAuth2.PromptCodeReceiver Class Reference

OAuth 2.0 verification code receiver that reads the authorization code from the user input. More...

Inheritance diagram for Google.Apis.Auth.OAuth2.PromptCodeReceiver:
Google.Apis.Auth.OAuth2.ICodeReceiver

Public Member Functions

Task
< AuthorizationCodeResponseUrl
ReceiveCodeAsync (AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken)
 Receives the authorization code. More...
 

Properties

string RedirectUri [get]
 
- Properties inherited from Google.Apis.Auth.OAuth2.ICodeReceiver
string RedirectUri [get]
 Gets the redirected URI. More...
 

Detailed Description

OAuth 2.0 verification code receiver that reads the authorization code from the user input.

Member Function Documentation

Task<AuthorizationCodeResponseUrl> Google.Apis.Auth.OAuth2.PromptCodeReceiver.ReceiveCodeAsync ( AuthorizationCodeRequestUrl  url,
CancellationToken  taskCancellationToken 
)
inline

Receives the authorization code.

Parameters
urlThe authorization code request URL
taskCancellationTokenCancellation token
Returns
The authorization code response

Implements Google.Apis.Auth.OAuth2.ICodeReceiver.


The documentation for this class was generated from the following file: