Show / Hide Table of Contents

Interface ICodeReceiver

OAuth 2.0 verification code receiver.

Namespace: Google.Apis.Auth.OAuth2
Assembly: Google.Apis.Auth.dll
Syntax
public interface ICodeReceiver

Properties

RedirectUri

Gets the redirected URI.

Declaration
string RedirectUri { get; }
Property Value
Type Description
string

Methods

ReceiveCodeAsync(AuthorizationCodeRequestUrl, CancellationToken)

Receives the authorization code.

Declaration
Task<AuthorizationCodeResponseUrl> ReceiveCodeAsync(AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken)
Parameters
Type Name Description
AuthorizationCodeRequestUrl url

The authorization code request URL

CancellationToken taskCancellationToken

Cancellation token

Returns
Type Description
Task<AuthorizationCodeResponseUrl>

The authorization code response

In this article
Back to top Generated by DocFX