GetOAuthAccessToken
Obtains the OAuth access token using the Resource Owner Password Credentials grant (grant_type=password). UKG Pro Workforce Management does not support the standard authorization-code/redirect flow.
Input
| Name | Type | Description |
| AuthMode | String | The OAuth flow.
The allowed values are APP, WEB. The default value is APP. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The access token. |
| OAuthRefreshToken | String | A token that may be used to obtain a new access token when the current one expires. |
| ExpiresIn | String | The remaining lifetime on the access token. |