Package net.shibboleth.oidc.security.jwt.claims.impl
package net.shibboleth.oidc.security.jwt.claims.impl
Validation functions for JWT claims.
-
ClassDescriptionA validator that checks the access_token value matches its encoded at_hash representation in the id_token.Check the ACR values requested were received.Verifies the Audience (aud) claim contains the appropriate value.Verifies the Audience (aud) claim contains the appropriate value in JWT authentication.Verifies the auth_time (when the End-User authentication took place): If the authnLifetimeLookup returns 0 seconds (e.g.Has the auth_time claim been requested?A function that calculates the SHA-256 digest and returns the value as a hex string, if the input length is more than 64 characters.A
ClaimsValidatorimplementation that validates a JWT claims set from a chain of configured validators.Activation condition to check a claim exists in the claims set.Validator that checks a JWT claim exactly matches (by Object equality) a value returned by a lookup strategy.Iff an expiration time (exp) claim is present, verifies that it is ahead of the current time, else the JWT claims set is rejected.Has forced authentication been requested?AClaimsValidatorthat relies on an injectedBiFunction.Enum of those OIDC ID token claims that are not part of the standardJWT claims set.If the 'iat' claim is present in the JWT, verifies it is not to far away from the current time.Enum that represents the standard set of registered JWT claims.Verifies the identifier (jit) from the JWT against replay via configurableReplayCache.Verifies the identifier (jit) from the JWT against revocation via configurableRevocationCache.Determines if nonce validation should occur.Iff a not-before-time (nbf) claim is present, makes sure it is before the current time.Activation condition to check the number of values a claim has against a given predicate.Verify the claims set does not contain any of the described set of claims.Strategy that looks up any requested ACR claims from the requested claims object that have to be contained in the token's claims set.Verify the claims set contains the given set of required claims.