Record -
oauth2
: DirectTokenConfig
The `DirectTokenConfig` record configures the access token directly.
Fields
- accessToken string
-
Access token for the authorization endpoint
- refreshConfig DirectTokenRefreshConfig
-
Configurations for refreshing the access token
- clockSkewInSeconds int 0
-
Clock skew in seconds
- retryRequest boolean true
-
Retry the request if the initial request returns a 401 response
- credentialBearer CredentialBearer http:AUTH_HEADER_BEARER
-
How authentication credentials are sent to the authorization endpoint