AuthenticationMethod
- Last Updated: May 13, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- HubSpot 6.0
- Documentation
Purpose
Determines which authentication mechanism the driver uses when establishing a connection.
Valid Values
OAuth2 | URLParameter
Behavior
If set to OAuth2, the driver uses OAuth 2.0 to
authenticate to the REST endpoints. See "OAuth 2.0 authentication" for details.
If set to URLParameter, the driver uses an API
key to authenticate to the REST endpoints. See "API key authentication" for
details.
Data Source Methods
public String getAuthenticationMethod()
public void setAuthenticationMethod(String)
Default Value
OAuth2
Data Type
String