ADO.NET Provider for HubSpot

Build 24.0.9062

GetOAuthAccessToken

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.

使用できる値は次のとおりです。APP, WEB

デフォルト値は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.
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.
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) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062