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 |
---|---|
System.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 |
System.Threading.CancellationToken | taskCancellationToken | Cancellation token |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<AuthorizationCodeResponseUrl> | The authorization code response |