ODBC Driver for 1010data

Build 22.0.8509

GetOAuthAccessToken

Gets the OAuth access token for AzureAD SSO.

Input

Name Type Description
AuthMode String The type of authentication mode to use. APP is used for desktop applications where the driver can display a web browser. WEB should be used otherwise.

The allowed values are APP, WEB.

The default value is APP.

Scope String The scope or permissions you are requesting.
CallbackUrl String The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the Azure app settings. Only required if AuthMode is WEB.
Verifier String The verifier returned from Azure after the user has authorized the app to sign-in using SSO. This value will be returned as a parameter to the callback URL.
State String This field indicates any state that may be useful to your application upon receipt of the response. Azure preserves this value when it redirects to your CallbackURL.

Result Set Columns

Name Type Description
OAuthAccessToken String The OAuth access token.
OAuthRefreshToken String The OAuth refresh token.
ExpiresIn String The remaining lifetime for the access token in seconds.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8509