GetOAuthAccessToken
Gets an authentication token from Trello.
Input
Name | Type | Required | Description |
AuthMode | String | False | The authentication mode to use. Select App to get authentication tokens via a desktop app. Select Web to get authentication tokens via a Web app.
The allowed values are APP, WEB. The default value is APP. |
Scopes | String | False | A comma-separated list of permissions to request from the user. Please check the Trello API for a list of available permissions.
The default value is read,write,account. |
CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. Set this to the endpoint you would like Trello to return information to ex. a localhost callback such as http://localhost:33333. Only needed when the Authmode parameter is Web. |
Verifier | String | False | The verifier returned from Trello after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL. |
State | String | False | Indicates any state which may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the Trello authorization server and back. Uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations. |
Name | String | False | Indicates the name of the Trello application which will be shown on the browser pop-up.
The default value is CData Trello Connector. |
AuthKey | String | False | The AuthKey value generated by GetOAuthAuthorizationURL. |
AuthToken | String | False | The AuthToken value generated by GetoAuthAuthorizationURL. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The access token used for communication with Trello. |
OAuthAccessTokenSecret | String | The secret token used with the access token. |
ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |