GetOAuthAccessToken
Gets the OAuth access token from SAPGateway.
Input
| Name | Type | Required | Description |
| AuthMode | String | False | The type of authentication mode to use. The allowed values are APP, WEB.
The allowed values are APP, WEB. The default value is WEB. |
| Verifier | String | False | The verifier token returned by SAPGateway after using the URL obtained with GetOAuthAuthorizationURL. Required if AuthMode is set to WEB. |
| CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. |
| Scope | String | False | The scope or permissions you are requesting. In AuthMode = APP, the scope must be provided unless it's defined as a connection property. |
| State | String | False | Any value that you wish to be sent with the callback. |
| PKCEVerifier | String | False | Specifies 128 bytes of random data with high entropy to make guessing the code value difficult. Used when AuthScheme=OAuthPKCE. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The authentication token returned from SAPGateway. |
| OAuthRefreshToken | String | A token that may be used to obtain a new access token. |
| ExpiresIn | String | The remaining lifetime for the access token in seconds. |