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.
デフォルト値は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 Square API for a list of available permissions.
デフォルト値はread:content:confluence read:content-details:confluence read:space-details:confluence read:analytics.content:confluence read:audit-log:confluence read:configuration:confluence read:page:confluence read:blogpost:confluence read:custom-content:confluence read:attachment:confluence read:comment:confluence read:template:confluence read:label:confluence read:content.permission:confluence read:content.property:confluence read:content.restriction:confluence read:content.metadata:confluence read:watcher:confluence read:group:confluence read:inlinetask:confluence read:relation:confluence read:space:confluence read:space.permission:confluence read:space.property:confluence read:space.setting:confluence read:user:confluence offline_accessです。 |
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. |