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

GetOAuthAccessToken

CData JDBC Driver for Magento 2019 - Build 19.0.7354

Gets an authentication token from Magento.

Input

Name Type Required Description
AuthMode String False Enter either APP or WEB. The type of authentication mode to use. Set to APP to get authentication tokens via a desktop app. Set to WEB to get authentication tokens via a Web app.

The default value is APP.

AuthToken String False The request token returned by GetOAuthAuthorizationURL. Required for only the Web AuthMode.
AuthKey String False The request token secret returned by GetOAuthAuthorizationURL. Required for only the Web AuthMode.
Verifier String False The verifier token returned by Magento after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode.
CallbackUrl String False The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL you have specified in the Magento app settings. Only needed when the AuthMode parameter is Web.

The default value is http://localhost:33333.

Result Set Columns

Name Type Description
OAuthAccessToken String The access token used for communication with Magento.
OAuthAccessTokenSecret String The access token secret used for communication with Magento.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.

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