AccessToken
- Last Updated: August 17, 2021
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Specifies the access token used to authenticate to Google Analytics 4 with OAuth 2.0 enabled. Typically, this property is configured by the application; however, in some scenarios, you may need to secure a token using external processes. In those instances, you can also use this property to set the access token manually.
Valid Values
String
where:
String
is an access token you have obtained from the authentication service.
Notes
- Access tokens expire ten minutes after generation. Once connected, the access token remains valid till the session is disconnected.
-
See "OAuth 2.0 authentication" for examples and more information.
Data Source Methods
public String getAccessToken()
public void setAccessToken(String)
Default Value
No default value
Data Type
String