Gets an authentication token from ActOn.
|AuthMode||String|| 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 APP.
|Scope||String|| The list of permissions to request from the user. Please check the ActOn API for a list of available permissions.
The default value is PRODUCTION.
|CallbackURL||String||Determines where the response is sent. The value of this parameter must exactly match one of the values registered in the settings for the app (including the HTTP or HTTPS schemes, capitalization, and trailing '/').|
|Verifier||String||The verifier returned from ActOn 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 in GetOAuthAuthorizationURL.|
|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 ActOn 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
|OAuthAccessToken||String||The access token used for communication with ActOn.|
|OAuthRefreshToken||String||A token that may be used to obtain a new access token.|
|ExpiresIn||String||The remaining lifetime for the access token in seconds.|
|OAuthTokenTimeStamp||String||The access token created time.|