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

OAuth 2.0 verification code receiver that runs a local server on a free port and waits for a call with the authorization verification code. More...

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

Public Member Functions

async 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 runs a local server on a free port and waits for a call with the authorization verification code.

Member Function Documentation

async Task<AuthorizationCodeResponseUrl> Google.Apis.Auth.OAuth2.LocalServerCodeReceiver.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: