Record: OAuth2PasswordGrantConfig
Represents OAuth2 password grant configurations for OAuth2 authentication.
Closed record
Fields
- Fields Included from *PasswordGrantConfig
- tokenUrl string
- username string
- password string
- clientId string
- clientSecret string
- scopes string[]
- refreshConfig record {| string refreshUrl; string[] scopes?; map<string> optionalParams?; ballerina/oauth2:1.1.0-beta.1:CredentialBearer credentialBearer; ballerina/oauth2:1.1.0-beta.1:ClientConfiguration clientConfig; |}
- defaultTokenExpTime decimal
- clockSkew decimal
- optionalParams map<string>
- credentialBearer CredentialBearer
- clientConfig ClientConfiguration