GetOAuthAccessToken
Gets an OAuth authentication token.
Input
Name | Type | Required | Description |
AuthMode | String | False | The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.
The allowed values are APP, WEB. The default value is WEB. |
Verifier | String | False | The verifier returned after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL. |
CallbackURL | String | False | Determines where the response is sent. |
State | String | False | Indicates any state which 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 the authorization server and back. 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 |
OAuthAccessToken | String | The access token used for communication with the API. |
OAuthRefreshToken | String | The refresh access token used to refresh your connection. |
ExpiresIn | String | The lifetime of the access token, in seconds. |