Record: JwtValidatorConfig
Represents JWT validator configurations for JWT authentication.
Closed record
Fields
- Fields Included from *ValidatorConfig
- issuer string
- username string
- audience string | string[ ]
- jwtId string
- keyId string
- customClaims map<json>
- clockSkew decimal
- signatureConfig ValidatorSignatureConfig
- cacheConfig CacheConfig
- anydata...
- scopeKey string(default "scope")
Expected issuer, which is mapped to the iss
Expected username, which is mapped to the sub
Expected audience, which is mapped to the aud
Expected JWT ID, which is mapped to the jti
Expected JWT key ID, which is mapped the kid
Expected map of custom claims
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
The key used to fetch the scopes