Refresh Token
- Last Updated: August 22, 2023
- 1 minute read
- DataDirect Connectors
- ODBC
- Google Bigquery 8.0
- Documentation
Attribute
RefreshToken (RT)
Purpose
Specifies the refresh token used to either request a new access token or renew
an expired access token. If an access token is not provided or expires at the time
of connection, the access token generated using refresh token is used to
authenticate to a Google BigQuery instance when OAuth 2.0 is enabled (AuthenticationMethod=oauth2.0).
See "Generating access token and refresh token" to know how to obtain a refresh token.
Valid Values
string
where:
- string
- is the refresh token you have obtained to authenticate to Google BigQuery.
Notes
- If a value for the Access Token option is not specified, the driver uses the value of the Refresh Token option to make a connection.
- If both Access Token and Refresh Token values are not specified, the driver cannot make a successful connection.
- If both AccessToken and RefreshToken values are specified, the driver uses the AccessToken value. However, if the AccessToken value has expired, it uses the RefreshToken value to generate a new AccessToken value.
Default
None
See also
Configuring OAuth 2.0 authentication