RefreshOAuthAccessToken
Refreshes an expired OAuth Access Token to maintain continuous authenticated access to Snowflake resources without requiring reauthorization from the user.
Input
| Name | Type | Required | Description |
| OAuthRefreshToken | String | True | The refresh token used to obtain a new OAuth access token after the previous one has expired. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | A newly generated OAuth access token that can be used for authentication in Snowflake API requests. |
| OAuthRefreshToken | String | A newly issued refresh token, which may be the same as the access token depending on the OAuth flow. |
| ExpiresIn | String | The duration (in seconds) for which the new access token remains valid. A value of -1 indicates the token does not expire. |