Interface JwtClaimsValidatorConfiguration

All Known Implementing Classes:
JwtClaimsValidatorConfigurationProperties

public interface JwtClaimsValidatorConfiguration
Configuration to enable or disable beans of type JwtClaimsValidator.
Since:
2.4.0
Author:
Sergio del Amo
  • Method Details

    • getAudience

      @Nullable @Nullable String getAudience()
      Returns:
      Whether the aud claim should be validated to ensure it matches this value.
    • getIssuer

      @Nullable @Nullable String getIssuer()
      Returns:
      Whether the iss claim should be validated to ensure it matches this value.
    • isSubjectNotNull

      boolean isSubjectNotNull()
      Returns:
      Whether the JWT subject claim should be validated to ensure it is not null.
    • isNotBefore

      boolean isNotBefore()
      Returns:
      Whether it should be validated that validation time is not before the not-before claim (nbf) of a JWT token.
    • isExpiration

      boolean isExpiration()
      Returns:
      Whether the expiration date of the JWT should be validated.
    • isNonce

      boolean isNonce()
      Returns:
      Whether the nonce claim should be validated when a nonce was present.
    • isOpenidIdtoken

      boolean isOpenidIdtoken()
      Returns:
      Whether `IdTokenClaimsValidator`, which performs some fo the verifications described in OpenID Connect Spec, is enabled. Only applies for `idtoken` authentication mode.