GetOAuthAccessToken
Gets an authentication token from Trino.
Input
| Name | Type | Description |
| TokenURL | String | The URL where the token is expected to be available after authorization. |
| AuthMode | String | The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.
使用できる値は次のとおりです。APP, WEB デフォルト値はAPPです。 |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The access token used for communication with Trino. |
| ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |