CData JDBC Driver for HubSpot 2019 - Online Help
Questions / Feedback?

GetOAuthAccessToken

CData JDBC Driver for HubSpot 2019 - Build 19.0.7424

Gets the OAuth access token from HubSpot.

Input

Name Type Description
AuthMode String 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.

RequiredScopes String Scopes required for your app. At least one must be specified and if you have created an app, all of the scopes you have selected for the app as being required should be specified.

The default value is contacts.

OptionalScopes String Optional scopes that are requested but are ignored if not specified. These do not need to be specified in your app and will not cause an error if the HubSpot account being connected to does not have access to them.

The default value is content social automation files forms timeline e-commerce business-intelligence integration-sync tickets sales-email-read.

CallbackUrl String The URL the user will be redirected to after authorizing your application.
Verifier String The verifier code returned by Hubspot after permissions have been granted for the app to connect. WEB AuthMode only.
State String 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 HubSpot 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 OAuth token.
OAuthRefreshToken String The OAuth refresh token.
ExpiresIn String The remaining lifetime for the access token in seconds.
HubId String The hubid the OAuth Access Token is applicable to.

 
 
Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 19.0.7424.0