JDBC Driver for Salesforce

Build 22.0.8462

GetOAuthAuthorizationUrl

Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps.

Input

Name Type Description
CallbackUrl String The page to return the user after authorization is complete.
Scope String A space-separated scope of permissions you need the app to have access to. The available values are api, chatter_api, full, id, refresh_token, visualforce, web. For more details, refer to: http://help.salesforce.com/help/doc/en/remoteaccess_oauth_scopes.htm.
Grant_Type String The type of authorization to be granted for your app. If this is set to code, the stored procedure will return an authorization URL containing the verifier code in a query string parameter, which you will need to submit back with the GetOAuthAccessToken stored procedure. Implicit will cause the OAuth access token to be returned directly in the URL.

The allowed values are Implicit, Code.

State String Any value that you wish to be sent with the callback.

Result Set Columns

Name Type Description
Url String The authorization url.

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