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.
 
@FunctionalInterface public interface JwtConstraint
AJwtConstraintrepresents an individual check that can applied to test a JWT. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<Result,NeverThrowsException>apply(ValidatorConstraintContext constraintContext)Apply a constraint to the given JWT. 
 - 
 
- 
- 
Method Detail
- 
apply
Promise<Result,NeverThrowsException> apply(ValidatorConstraintContext constraintContext)
Apply a constraint to the given JWT.- Parameters:
 constraintContext- The validation context used to hold data between constraints validation- Returns:
 - a 
Resultpromise for thisJwtConstraint. 
 
 - 
 
 -