Interface JwtClaimsValidatorConfiguration
-
- All Known Implementing Classes:
JwtClaimsValidatorConfigurationProperties
public interface JwtClaimsValidatorConfigurationConfiguration to enable or disable beans of typeJwtClaimsValidator.- Since:
- 2.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAudience()java.lang.StringgetIssuer()booleanisExpiration()booleanisNonce()booleanisNotBefore()booleanisOpenidIdtoken()booleanisSubjectNotNull()
-
-
-
Method Detail
-
getAudience
@Nullable java.lang.String getAudience()
- Returns:
- Whether the aud claim should be validated to ensure it matches this value.
-
getIssuer
@Nullable java.lang.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.
-
-