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 (default 0)
-
Clock skew in seconds
- retryRequest boolean (default true)
-
Retry the request if the initial request returns a 401 response
- credentialBearer CredentialBearer (default http:AUTH_HEADER_BEARER)
-
How authentication credentials are sent to the authorization endpoint