JDBC Driver for Salesforce Marketing Cloud

Build 23.0.8839

GetOAuthAccessToken

Gets an authentication token from SalesforceMarketingCloud.

Input

Name Type Required Description
AuthMode String False The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.

The allowed values are APP, WEB.

The default value is APP.

Verifier String False The verifier token returned by SalesforceMarketingCloud after using the URL obtained with GetOAuthAuthorizationUrl.
Scope String False Space-separated list of data-access permissions for your application. Review REST API Permission IDs and Scopes for a full list of permissions. If scope is not specified, the token is issued with the scopes assigned to the API integration in Installed Packages.
State String False Used by your application to maintain state between the request and the redirect. The authorization server includes this value when redirecting the end-user's browser back to your application. This parameter is recommended because it helps to minimize the risk of cross-site forgery attack.
CallbackUrl String False The page to return the SalesforceMarketingCloud app after authentication has been completed.
GrantType String False Authorization grant type. Only available for OAuth 2.0.

The allowed values are CODE, CLIENT.

AccountId String False Account identifier, or MID, of the target business unit. Use to switch between business units.

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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839