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 | Required | Description |
CallbackUrl | String | False | The page to return the user after authorization is complete. |
Scope | String | False | 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 | False | 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.
使用できる値は次のとおりです。Implicit, Code |
State | String | False | Any value that you wish to be sent with the callback. |
Result Set Columns
Name | Type | Description |
Url | String | The authorization url. |