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.
使用できる値は次のとおりです。APP, WEB デフォルト値は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. |