Class AccessTokenHashValidator

All Implemented Interfaces:
ClaimsValidator, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class AccessTokenHashValidator extends AbstractClaimsValidator
A validator that checks the access_token value matches its encoded at_hash representation in the id_token.
Since:
2.2.0
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • accessTokenLookupStrategy

      @NonnullAfterInit private Function<ProfileRequestContext,com.nimbusds.oauth2.sdk.token.AccessToken> accessTokenLookupStrategy
      Strategy to find the access_token.
    • joseHeaderLookupStrategy

      @NonnullAfterInit private Function<ProfileRequestContext,com.nimbusds.jose.JWSHeader> joseHeaderLookupStrategy
      Strategy to find the JOSE headers relating to the id_token the at_hash is taken from.
    • allowMissing

      private boolean allowMissing
      Allow a missing at_hash claim.
  • Constructor Details

    • AccessTokenHashValidator

      public AccessTokenHashValidator()
  • Method Details