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

Record - oauth2 : IntrospectionServerConfig

Represents introspection server onfigurations.

Closed record

Fields

  • url string
  • URL of the introspection server

  • tokenTypeHint string
  • A hint about the type of the token submitted for introspection

  • oauth2Cache Cache
  • Cache used to store the OAuth2 token and other related information

  • defaultTokenExpTimeInSeconds int (default 3600)
  • Expiration time of the tokens if introspection response does not contain an exp field

  • clientConfig ClientConfiguration (default {})
  • HTTP client configurations which calls the introspection server