GetOAuthAccessToken
Obtains the OAuth access token for the Google Cloud Translation API.
Input
| Name | Type | Description |
| AuthMode | String | The OAuth flow.
The allowed values are APP, WEB. The default value is WEB. |
| CallbackURL | String | The redirect URL configured on your registered OAuth application. |
| Verifier | String | The authorization code returned in the callback after the user grants consent. |
| Scope | String | The OAuth scope or scopes requested for the access token. |
| State | String | A custom value sent with the callback to maintain session state and prevent cross-site request forgery (CSRF) attacks.
The default value is test. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The access token. |
| OAuthRefreshToken | String | The refresh token. |
| ExpiresIn | String | Token lifetime in seconds. |