GetOAuthAccessToken
Gets the auth token used to authenticate to the service.
Input
Name | Type | Required | Accepts Input Streams | Description |
AuthMode | String | False | False | The type of authentication you are attempting. Use App for a Windows application, or Web for Web-based applications.
デフォルト値はAPPです。 |
Verifier | String | False | False | A verifier returned by the service that must be input to return the access token. Needed only when using the Web auth mode. Obtained by navigating to the URL returned in GetOAuthAuthorizationUrl. |
CallbackUrl | String | False | False | The URL the user will be redirected to after authorizing your application. |
State | String | False | False | This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to Dynamics authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Prompt | String | False | False | 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 |
OAuthAccessToken | String | The OAuth access token. |
* | String | Other outputs that may be returned by the data source. |