skip to main content
Connection property descriptions : AccessToken
  

Try DataDirect Drivers Now

AccessToken

Purpose

Specifies the access token required to authenticate to a REST service when OAuth 2.0 is enabled (AuthenticationMethod=OAuth2). 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 are temporary and must be replaced to maintain the session without interruption. The life of an access token is typically one hour.
*This property is not required for all authentication flows. See “OAuth 2.0 authentication” for a list of common authentication flows and their requirements. If you are unsure of the requirements for your authentication flow, contact your administrator for more information.

Data Source Method

setAccessToken

Default

None

Data Type

String

See Also

*OAuth 2.0 authentication
*OAuth 2.0 properties