GetOAuthAccessToken
Gets an authentication token from Workday.
Input
Name | Type | Description |
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 WEB. |
Verifier | String | The verifier returned from Workday 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 | Determines where the response is sent. The value of this parameter must exactly match one of the values registered in the APIs Console (including the HTTP or HTTPS schemes, capitalization, and trailing '/'). |
State | String | 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 Google 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. |