GetOAuthAccessToken
Gets the OAuth access token from Basecamp.
Input
Name | Type | Description |
AuthMode | String | WEB or APP. The Basecamp authentication mode. Default is APP.
The default value is APP. |
CallbackUrl | String | The URL the user will be redirected to after authorizing your application. |
Verifier | String | The verifier token returned by Basecamp. Required for only the Web AuthMode. |
Scope | String | The access scope that is requested by the client application.
The default value is api offline_access. |
State | String | 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 Acumatica authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The OAuth token. |
OAuthRefreshToken | String | The OAuth refresh token. |
ExpiresIn | String | The remaining lifetime for the access token in seconds. |