GetOAuthAccessToken
Gets an authentication token from ZohoCreator.
Input
Name | Type | Required | Description |
AuthMode | String | False | The type of authentication mode to use. Select App for getting authentication tokens via a windows forms app. Select Web for getting authentication tokens via a Web app.
The allowed values are APP, WEB. The default value is APP. |
Scope | String | False | A comma-separated list of permissions to request from the user. Please check the ZohoCreator API for a list of available permissions.
The default value is ZohoCreator.report.READ ZohoCreator.meta.application.READ ZohoCreator.meta.form.READ ZohoCreator.form.CREATE ZohoCreator.report.CREATE ZohoCreator.report.UPDATE ZohoCreator.report.DELETE ZohoCreator.dashboard.READ. |
CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the AzureDevOps app settings. Only needed when the Authmode parameter is Web. |
Verifier | String | False | The verifier returned from ZohoCRM 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 | This field indicates any state that 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 Zoho authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
AccountsServer | String | False | This field indicates the full Account Server URL. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The access token used for communication with ZohoCreator. |
OAuthRefreshToken | String | The OAuth refresh token. This is the same as the access token in the case of ZohoCreator. |
ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |