GetOAuthAccessToken
Gets the OAuth access token from SharePoint.
Input
| Name | Type | Description |
| AuthMode | String | The type of authentication mode to use. The allowed values are APP, WEB. |
| Verifier | String | The verifier token returned by SharePoint after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
| CallbackUrl | String | The URL the user will be redirected to after authorizing your application. |
| Scope | String | The scope or permissions you are requesting from the user.
The default value is AllSites.Manage. |
| State | String | Any value that you wish to be sent with the callback. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The authentication token returned from SharePoint. |
| 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. |