Record -
oauth2
: ClientCredentialsGrantConfig
The data structure, which is used to configure the OAuth2 client credentials grant type.
Fields
- tokenUrl string
-
Token URL for the authorization endpoint
- clientId string
-
Client ID for the client credentials grant authentication
- clientSecret string
-
Client secret for the client credentials grant authentication
- scopes string[]
-
Scope(s) of the access request
- 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)
-
Bearer of the authentication credentials, which is sent to the authorization endpoint
- clientConfig ClientConfiguration (default {})
-
HTTP client configurations, which are used to call the authorization endpoint