CData Python Connector for Presto

Build 25.0.9440

GetOAuthAccessToken

Gets an authentication token from Trino.

Input

Name Type Description
TokenURL String The URL where the token is expected to be available after authorization.
AuthMode String The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

使用できる値は次のとおりです。APP, WEB

デフォルト値はAPPです。

Result Set Columns

Name Type Description
OAuthAccessToken String The access token used for communication with Trino.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.

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