GetOAuthAccessToken
Gets an authentication token from Confluence.
Input
| Name | Type | Required | Description |
| AuthMode | String | False | Enter either APP or WEB. The type of authentication mode to use. Set to APP to get authentication tokens via a desktop app. Set to WEB to get authentication tokens via a Web app.
The default value is APP. |
| Verifier | String | False | The verifier token returned by Confluence after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
| Scope | String | False | A comma-separated list of permissions to request from the user. Please check the Confluence API for a list of available permissions. |
| CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the Confluence app settings. |
| AuthToken | String | False | The request token returned by GetOAuthAuthorizationURL. Required for only the Web AuthMode. Used for OAuth 1.0. |
| AuthKey | String | False | The request token secret returned by GetOAuthAuthorizationURL. Required for only the Web AuthMode. Used for OAuth 1.0. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The access token used for communication with Confluence. |
| OAuthAccessTokenSecret | String | The access token secret used for communication with Confluence. |
| OAuthRefreshToken | String | A token that may be used to obtain a new access token. |
| CloudId | String | The Cloud Id for the Atlassian site that was authorized. |
| ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |