JDBC Driver for SugarCRM

Build 22.0.8462

GetOAuthAccessToken

Obtains the OAuth access token to be used for authentication with SugarCRM.

Input

Name Type Description
AuthMode String The type of authentication mode to use.

The allowed values are APP, WEB.

The default value is WEB.

Verifier String The verifier code returned by SugarCRM after permissions have been granted for the app to connect. WEB AuthMode only.
Scope String The scope of access to SugarCRM. By default, access to all APIs used by this data provider will be specified.
CallbackURL String Determines where the response is sent. The value of this parameter must exactly match one of the values registered in the APIs Console (including the HTTP or HTTPS schemes, capitalization, and trailing '/').
State String 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 SugarCRM authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.

Result Set Columns

Name Type Description
OAuthAccessToken String The authentication token returned from SugarCRM. This can be used in subsequent calls to other operations for this particular service.
OAuthRefreshToken String A token that may be used to obtain a new access token.
ExpiresIn String The remaining lifetime on the access token.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462