Interface JsonWebTokenValidator<T,R>
- Type Parameters:
T
- TokenR
- Request
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
JSON Web Token (JWT) validator.
- Since:
- 4.8.0
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
validate
Validates a Token. It should perform the following steps. - Parses the Token (if encrypted it should decrypt it). - Validates the Signature - Validates the Claims- Parameters:
token
- The JWT Tokenrequest
- An Request- Returns:
- A JWT if the token is valid
-