GetOAuthAccessToken
Obtains the OAuth access token to be used for authentication with various APIs.
Input
Name | Type | Description |
AuthMode | String | The OAuth flow. APP or WEB.
The allowed values are APP, WEB. The default value is WEB. |
CallbackURL | String | The URL to be used as a trusted redirect URL, where the user will return with the token that verifies that they have granted your app access. |
Verifier | String | The verifier code obtained when the user grants permissions to your app. |
Scope | String | The scope of access to the API.
The default value is ZohoProjects.portals.READ,ZohoProjects.projects.ALL,ZohoProjects.activities.READ,ZohoProjects.status.READ,ZohoProjects.milestones.ALL,ZohoProjects.tasklists.READ,ZohoProjects.tasks.ALL,ZohoPC.files.READ,ZohoProjects.timesheets.READ,ZohoProjects.bugs.READ,ZohoProjects.tags.READ,ZohoProjects.events.READ,ZohoProjects.forums.READ,ZohoProjects.users.READ,ZohoProjects.documents.READ,ZohoPC.files.READ. |
AccessType | String |
The default value is offline. |
Prompt | String |
The default value is consent. |
Result Set Columns
Name | Type | Description |
OAuthAccessToken | String | The access token. |
ExpiresIn | String | The remaining lifetime on the access token. |