JDBC Driver for PostgreSQL

Build 22.0.8462

GetOAuthAuthorizationUrl

Gets an authorization URL from the data source. The authorization URL can be used to generate a verifier required to obtain the OAuth token.

Input

Name Type Description
CallbackURL String The URL the user will be redirected to after authorizing your application.
Scope String

The default value is https://ossrdbms-aad.database.windows.net/.default.

State String This field indicates any state that 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 Dynamics authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.
Prompt String Defaults to 'select_account' which prompts the user to select account while authenticating. If set to 'None', the user will not be prompted.
AccessType String Indicates if your application needs to access a Google API when the user is not present at the browser. This parameter defaults to OFFLINE. If your application needs to refresh access tokens when the user is not present at the browser, then use OFFLINE. This will result in your application obtaining a refresh token the first time your application exchanges an authorization code for a user.

The allowed values are ONLINE, OFFLINE.

The default value is OFFLINE.

Result Set Columns

Name Type Description
Url String The authorization url that will need to be opened for the user to authorize your app.

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