Class NonceFromAuthenticationRequestStateLookupStrategy

java.lang.Object
net.shibboleth.sp.oidc.profile.context.navigate.NonceFromAuthenticationRequestStateLookupStrategy
All Implemented Interfaces:
BiFunction<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>

@ThreadSafe public final class NonceFromAuthenticationRequestStateLookupStrategy extends Object implements BiFunction<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>
Lookup strategy that finds the id_token nonce from the AuthenticationRequestStateData. Returns null if not found.
  • Field Details

  • Constructor Details

    • NonceFromAuthenticationRequestStateLookupStrategy

      public NonceFromAuthenticationRequestStateLookupStrategy(@ParameterName(name="authenticationStateDataLookupStrategy") @Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,AuthenticationRequestStateData> strategy)
      Constructor.
      Parameters:
      strategy - the lookup strategy to use
    • NonceFromAuthenticationRequestStateLookupStrategy

      public NonceFromAuthenticationRequestStateLookupStrategy()
      Constructor.
  • Method Details

    • apply

      @Nullable public String apply(@Nullable org.opensaml.profile.context.ProfileRequestContext context, @Nullable com.nimbusds.jwt.JWTClaimsSet claims)
      Specified by:
      apply in interface BiFunction<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWTClaimsSet,String>