GetOAuthAuthorizationUrl
Gets the authorization URL that must be opened separately by the user to grant access to your application.
Input
Name | Type | Description |
OAuthServerUrl | String | The url which located the ADFS server. |
CallbackUrl | String | The page to return the user after authorization is complete. |
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.
使用できる値は次のとおりです。Implicit, Code |
State | String | Any value that you wish to be sent with the callback. |
Prompt | String | Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app. |
Result Set Columns
Name | Type | Description |
Url | String | The authorization url. |