skip to main content
Connection property descriptions : AuthenticationMethod
  

Try DataDirect Drivers Now

AuthenticationMethod

Purpose

Determines which authentication method the driver uses during the course of a session.

Valid values

None | Basic | Custom | HttpHeader | OAuth2 | UrlParameter

Behavior

If set to None, the driver does not attempt to authenticate.
If set to Basic, the driver uses a hashed value, based on the concatenation of the user name and password, for authentication. In addition to the User and Password properties, you must also configure the AuthHeader property if the name of your HTTP header is not Authorization (the default).
If set to Custom, the driver uses a custom token-based authentication flow that is defined in the input REST file. See "Custom authentication requests" for more information on the input REST file.
If set to HttpHeader, the driver passes security tokens via HTTP headers for authentication. You must also configure SecurityToken property and, if the name of your HTTP header is not Authorization (the default), the AuthHeader property.
If set to OAuth2, the driver uses OAuth 2.0 to authenticate to REST endpoints.
If set to UrlParameter, the driver passes security tokens via the URL for authentication. You must also configure the AuthParam and SecurityToken properties.

Data Source Method

setAuthenticationMethod

Default

None
Note: The driver defaults to Custom when it discovers an entry for a custom authentication request in the input REST file.

Data Type

String

See Also

*Custom authentication requests
*Authentication
*Basic authentication properties
*HTTP header authentication properties
*OAuth 2.0 properties
*Custom authentication request properties
*URL parameter authentication properties