skip to main content
Using the driver : Using connection properties : Custom authentication request properties
  

Try DataDirect Drivers Now

Custom authentication request properties

The following table summarizes connection properties which are used for custom authentication requests that defined in the input REST file.
Table 13. Authentication Properties
Property
Characteristic
Determines which authentication method the driver uses during the course of a session.
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 the custom token-based authentication flow that is defined in the input REST file. See "Custom authentication requests" for more information on 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.
The default is None.
Specifies a list of parameter values used by custom authentication requests that are defined in the input REST file. This property allows you to configure parameter values used in custom authentication requests on a per connection basis, without editing the REST file, and securely pass them in a connection string.
Specifies the user name that is used to connect to the REST service. A user name is required if user is enabled by your REST service. This property is ignored when AuthenticationMethod=None.
Specifies the password to use to connect to your REST service.