Record: OAuth2PasswordGrantConfig
Represents OAuth2 password grant configurations for OAuth2 authentication.
Fields
- Fields Included from *PasswordGrantConfig
- tokenUrl string
- username string
- password string
- clientId string
- clientSecret string
- scopes string[ ]
- refreshConfig record { refreshUrl string, scopes string[ ], optionalParams map<string>, credentialBearer CredentialBearer, clientConfig ClientConfiguration }
- defaultTokenExpTime decimal
- clockSkew decimal
- optionalParams map<string>
- credentialBearer CredentialBearer
- clientConfig ClientConfiguration
Token URL of the token endpoint
Username for the password grant type
Password for the password grant type
Client ID of the client authentication
Client secret of the client authentication
Scope(s) of the access request
Configurations for refreshing the access token
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