GetOAuthAccessToken
Gets an authentication token from Lakebase.
Input
| Name | Type | Description |
| Verifier | String | A verifier returned by the service that must be input to return the access token. Needed only when using the Web auth mode. Obtained by navigating to the URL returned in GetOAuthAuthorizationUrl. |
| Scope | String |
The default value is all-apis offline_access. |
| CallbackUrl | String | The URL to which the user will be redirected after they authorize your application. |
| State | String | Indicates any state that may be useful to your application upon receipt of the response. This parameter makes a round-trip to the AzureDataCatalog authorization server and back, so your application receives the same value it sent. Use cases include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The authentication token returned from Lakebase. This token can be used in subsequent calls to other operations within this particular service. |
| OAuthRefreshToken | String | The access token. |
| ExpiresIn | String | The remaining lifetime on the access token. -1 denotes that it will not expire. |