public interface ICodeReceiver
OAuth 2.0 verification code receiver.
Namespace
Google.Apis.Auth.OAuth2Assembly
Google.Apis.Auth.dll
Properties
RedirectUri
string RedirectUri { get; }
Gets the redirected URI.
Property Value | |
---|---|
Type | Description |
string |
Methods
ReceiveCodeAsync(AuthorizationCodeRequestUrl, CancellationToken)
Task<AuthorizationCodeResponseUrl> ReceiveCodeAsync(AuthorizationCodeRequestUrl url, CancellationToken taskCancellationToken)
Receives the authorization code.
Parameters | |
---|---|
Name | Description |
url |
AuthorizationCodeRequestUrl The authorization code request URL |
taskCancellationToken |
CancellationToken Cancellation token |
Returns | |
---|---|
Type | Description |
TaskAuthorizationCodeResponseUrl |
The authorization code response |