Record: ValidatorConfig

Represents JWT validator configurations.


  • issuer string?
  • Expected issuer, which is mapped to the iss

  • audience string | string[ ]?
  • Expected audience, which is mapped to the aud

  • clockSkew decimal(default 0)
  • Clock skew (in seconds) that can be used to avoid token validation failures due to clock synchronization problems

  • signatureConfig ValidatorSignatureConfig?
  • JWT signature configurations

  • cacheConfig CacheConfig?
  • Configurations related to the cache, which are used to store parsed JWT information