Class PKCECodeVerifierFromStateLookupStrategy

java.lang.Object
net.shibboleth.sp.oidc.profile.context.navigate.PKCECodeVerifierFromStateLookupStrategy
All Implemented Interfaces:
Function<org.opensaml.profile.context.ProfileRequestContext,String>

@ThreadSafe public final class PKCECodeVerifierFromStateLookupStrategy extends Object implements Function<org.opensaml.profile.context.ProfileRequestContext,String>
A lookup strategy that retrieves the PKCE Code verifier from the AuthenticationRequestStateData stored in the StateDataContext associated with a ProfileRequestContext.
  • Field Details

    • stateDataContextLookupStrategy

      @Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> stateDataContextLookupStrategy
      Strategy used to locate the StateDataContext.
  • Constructor Details

    • PKCECodeVerifierFromStateLookupStrategy

      public PKCECodeVerifierFromStateLookupStrategy(@ParameterName(name="stateDataContextLookupStrategy") @Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.sp.context.StateDataContext> strategy)
      Constructor.
      Parameters:
      strategy - strategy to find the authentication request state context
  • Method Details

    • apply

      @Nullable public String apply(@Nullable org.opensaml.profile.context.ProfileRequestContext prc)
      Specified by:
      apply in interface Function<org.opensaml.profile.context.ProfileRequestContext,String>