Authentication Method
- Last Updated: December 7, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- GitHub 8.0
- Documentation
Attribute
AuthenticationMethod (am)
Purpose
Determines which authentication mechanism the driver uses when establishing a connection.
Valid Values
0 | 34 | 24
Behavior
If set to 0 (Basic), the driver uses a hashed value, based on the concatenation of the user name and password, for authentication.
If set to 34 (BearerToken), the driver uses
personal access token for authentication. The personal access token is specified
using the Security Token option.
If set to 24 (OAuth2), the driver uses OAuth 2.0 to authenticate to REST endpoints. See
"OAuth 2.0 authentication" for details.
Default Value
34 (BearerToken)
Data Type
String