Connection Options: Security
|
Description
|
Determines which authentication method the driver uses when establishing a connection.
If set to USERIDPASSWORD, the driver uses user ID/password authentication when establishing a connection.
If set to OAUTH2.0, the driver uses OAuth 2.0 authentication when establishing a connection.
Default: USERIDPASSWORD
|
|
Specifies the consumer key for your application. The driver uses this value when authenticating to a Salesforce instance using OAuth 2.0 (AuthenticationMethod=oauth2.0).
|
|
Specifies the consumer secret for your application. This value can optionally be specified when authenticating to a Salesforce instance using OAuth 2.0 (AuthenticationMethod=oauth2.0).
|
|
Specifies the refresh token used to either request a new access token or renew an expired access token. When the refresh token is specified, the access token generated at connection is used to authenticate to a Salesforce instance when OAuth 2.0 is enabled (AuthenticationMethod=oauth2.0).
Note: If a value for the Access Token option is not specified, the driver uses the value of the Refresh Token option to make a connection. If both values are not specified, the driver cannot make a successful connection. If both are specified, the driver ignores the Access Token value and uses the Refresh Token value to generate a new Access Token value.
|
|
Specifies the access token required to authenticate to a Salesforce instance when OAuth 2.0 is enabled (AuthenticationMethod=oauth2.0).
Note: If a value for the Access Token option is not specified, the driver uses the value of the Refresh Token option to make a connection. If both values are not specified, the driver cannot make a successful connection. If both are specified, the driver ignores the Access Token value and uses the Refresh Token value to generate a new Access Token value.
|