Record -
oauth2
: DirectTokenRefreshConfig
The data structure, which can be used to pass the configurations for refreshing the access token directly.
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(s) of the access request
- credentialBearer CredentialBearer (default http:AUTH_HEADER_BEARER)
-
Bearer of authentication credentials, which is sent to the authorization endpoint
- clientConfig ClientConfiguration (default {})
-
HTTP client configurations, which are used to call the authorization endpoint