Record: ClientCredentialsGrantConfig
Represents the data structure, which is used to configure the OAuth2 client credentials grant type.
Closed record
Fields
- tokenUrl string
- clientId string
- clientSecret string
- scopes string[ ]?
- defaultTokenExpTime decimal(default 3600)
- clockSkew decimal(default 0)
- optionalParams map<string>?
- credentialBearer CredentialBearer(default AUTH_HEADER_BEARER)
- clientConfig ClientConfiguration(default {})
Token URL of the token endpoint
Client ID of the client authentication
Client secret of the client authentication
Scope(s) of the access request
Expiration time (in seconds) of the tokens if the token endpoint response does not contain an expires_in
field
Clock skew (in seconds) that can be used to avoid token validation failures due to clock synchronization problems
Map of the optional parameters used for the token endpoint
Bearer of the authentication credentials, which is sent to the token endpoint
HTTP client configurations, which are used to call the token endpoint