JDBC Driver for Amazon Marketplace

Build 22.0.8538

OAuthClientLocation

The location of the settings file where the embedded application's OAuth credentials are saved. Alternatively, this can be held in memory by specifying a value starting with memory://.

Data Type

string

Default Value

"%APPDATA%\\CData\\AmazonMarketplace Data Provider\\OAuthClient.txt"

Remarks

The driver retrieves and saves the embedded application's OAuth credentials on a fixed interval because of API requirements.

Alternatively to specifying a file path, memory storage can be used instead. Memory locations are specified by using a value starting with 'memory://' followed by a unique identifier for that set of credentials (ex: memory://user1). The identifier can be anything you choose but should be unique to the user. Unlike with the file based storage, you must manually store the credentials when closing the connection with memory storage to be able to set them in the connection when the process is started again. The OAuth property values can be retrieved with a query to the sys_connection_props system table. If there are multiple connections using the same credentials, the properties should be read from the last connection to be closed.

If left unspecified, the default location is "%APPDATA%\\CData\\AmazonMarketplace Data Provider\\OAuthClient.txt" with %APPDATA% being set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Mac ~/Library/Application Support
Linux ~/.config

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8538