public interface JwtValidator
Validator used for JWT claim validation.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JwtValidator.Builder
builder()
Return a new Builder of theJwtValidator
.Validate configured validators against providedJwt
.
-
Method Details
-
builder
Return a new Builder of theJwtValidator
.- Returns:
- new builder instance
-
validate
Validate configured validators against providedJwt
.- Parameters:
jwt
- JWT to validate- Returns:
- errors instance to check if valid and access error messages
-