Record -
oauth2
: DirectTokenRefreshConfig
The DirectTokenRefreshConfig
record passes the configurations for refreshing the access token for
the grant type of the direct token grant type.
Fields
- refreshUrl string
-
Refresh token URL for the refresh token server
- refreshToken string
-
Refresh token for the refresh token server
- clientId string
-
Client ID for authentication with the authorization endpoint
- clientSecret string
-
Client secret for authentication with the authorization endpoint
- scopes string[]
-
Scope of the access request
- credentialBearer CredentialBearer (default http:AUTH_HEADER_BEARER)
-
How authentication credentials are sent to the authorization endpoint
- clientConfig ClientConfiguration (default {})
-
HTTP client configurations which calls the authorization endpoint