GetOAuthAuthorizationURL
Gets the authorization URL that must be opened separately by the user to grant access to your application. The user requests the OAuthAccessToken from this URL. Only needed when developing Web apps.
Input
Name | Type | Required | Description |
CallbackUrl | String | False | The URL to which the user will be redirected after authorizing your application. This value must match the Redirect URL in the Azure DevOps app settings. |
Scope | String | False | A comma-separated list of scopes to request from the user. For a list of available permissions, see the Azure DevOps API documentation.
デフォルト値はhttps://app.vssps.visualstudio.com/.defaultです。 |
State | String | False | Indicates any state that may be useful to your application upon receipt of the response. As this parameter makes a round-trip to the Azure DevOps authorization server and back, your application receives the same value it sent. Uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations. |
Result Set Columns
Name | Type | Description |
URL | String | The authorization URL, entered into a Web browser to obtain the verifier token and authorize your application. |