skip to main content
Connection Property Descriptions : AccessToken
  

Try DataDirect Drivers Now

AccessToken

Purpose

Specifies the access token required to authenticate to a Salesforce instance when OAuth 2.0 is enabled (AuthenticationMethod=oauth2.0).
The access token acts as a session ID for the connection. Refer to the Salesforce documentation to know how to obtain an access token.

Valid Values

string
where:
string
is the access token you have obtained from Salesforce.

Notes

*If a value for the AccessToken property is not specified, the driver uses the value of the RefreshToken property to make a connection.
*If both AccessToken and RefreshToken values are not specified, the driver cannot make a successful connection.
*If both AccessToken and RefreshToken values are specified, the driver ignores the AccessToken value and uses the RefreshToken value to generate a new AccessToken value.

Data Source Method

setAccessToken

Default

None

Data Type

String

See also

Configuring OAuth 2.0 authentication
AuthenticationMethod
RefreshToken