GetOAuthAccessToken
Gets an authentication token from AzureAD.
Input
Name | Type | Description |
AuthMode | String |
The allowed values are APP, WEB. The default value is WEB. |
PKCEVerifier | String | The PKCEVerifier GetOAuthAuthorizationURL returns. |
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. |
CallbackUrl | String | |
State | String | Indicates any state which may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the AzureDataCatalog authorization server and back. Uses 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 access token used for communication with Azure AD. |
OAuthRefreshToken | String | The OAuth refresh token. This is the same as the access token in the case of Azure AD. |
ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |