Interface JwtConstraint
- All Known Implementing Classes:
JweDecryptionConstraint
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
JwtConstraint
represents an individual check that can applied to test a JWT.-
Method Summary
Modifier and TypeMethodDescriptionapply
(ValidatorConstraintContext constraintContext) Apply a constraint to the given JWT.
-
Method Details
-
apply
Apply a constraint to the given JWT.- Parameters:
constraintContext
- The validation context used to hold data between constraints validation- Returns:
- a
Result
promise for thisJwtConstraint
.
-