Gets the OAuth access token from SharePoint.
|The type of authentication mode to use. The allowed values are APP, WEB.
|The verifier token returned by SharePoint after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode.
|The URL the user will be redirected to after authorizing your application.
|Any value that you wish to be sent with the callback.
|Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app.
Result Set Columns
|The authentication token returned from SharePoint.
|A token that may be used to obtain a new access token.
|The remaining lifetime for the access token in seconds.