Interface JwtClaimsValidator<T>

Type Parameters:
T - Request
All Known Subinterfaces:
GenericJwtClaimsValidator<T>
All Known Implementing Classes:
AudienceJwtClaimsValidator, ExpirationJwtClaimsValidator, IdTokenClaimsValidator, IssuerJwtClaimsValidator, NotBeforeJwtClaimsValidator, SubjectNotNullJwtClaimsValidator

public interface JwtClaimsValidator<T>
Provides a contract to create custom JWT claims validations.
Since:
1.1.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(@NonNull Claims claims, T request)
     
  • Method Details

    • validate

      boolean validate(@NonNull @NonNull Claims claims, @Nullable T request)
      Parameters:
      claims - JWT Claims
      request - HTTP request
      Returns:
      whether the JWT claims pass validation.