ADO.NET Provider for Salesforce

Build 24.0.9029

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.
PKCEVerifier String Specifies 128 bytes of random data with high entropy to make guessing the code value difficult. Used when AuthScheme=OAuthPKCE.

Result Set Columns

Name Type Description
Url String The authorization url.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9029