Record: ValidatorConfig
Represents JWT validator configurations.
Fields
- issuer string?
- audience string | string[ ]?
- clockSkew decimal(default 0)
- signatureConfig ValidatorSignatureConfig?
- cacheConfig CacheConfig?
Expected issuer, which is mapped to the iss
Expected audience, which is mapped to the aud
Clock skew (in seconds) that can be used to avoid token validation failures due to clock synchronization problems
JWT signature configurations
Configurations related to the cache, which are used to store parsed JWT information