CData Python Connector for Azure Data Lake Storage

Build 25.0.9454

GetOAuthAccessToken

Retrieves an OAuth access token for authenticating against Azure Data Lake Storage, enabling secure access to resources.

Input

Name Type Description
AuthMode String Mandatory. Specifies the authentication scheme in use. Permitted values are APP or WEB.
Verifier String The verifier token returned after the user lands at the authorization URL. Required when AuthMode=WEB.
CallbackUrl String The URL where the user is redirected after authorizing the application.
State String A custom value included in the callback, used to either help maintain state or validate the response.
Prompt String Specifies the type of authentication prompt. Choose 'select_account' to let the user choose an account (default), 'none' for no prompt, 'login' to force credential entry, or 'consent' to display the OAuth consent dialog.

Result Set Columns

Name Type Description
OAuthAccessToken String The OAuth access token returned for authenticating requests to Azure Data Lake Storage.
OAuthRefreshToken String A refresh token used to obtain a new access token without requiring user reauthentication.
ExpiresIn String The number of seconds before the current access token expires.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454