This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - oauth2 : RefreshConfig

The data structure, which can be used to pass the configurations for refreshing the access token of the password grant type.

Closed record

Fields

  • refreshUrl string
  • Refresh token URL for the refresh token server

  • scopes string[]
  • Scope(s) of the access request

  • 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