Class PKCEOptionsLookupStrategy

java.lang.Object
net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction<net.shibboleth.oidc.profile.messaging.PKCEOptions>
net.shibboleth.sp.oidc.profile.config.navigate.PKCEOptionsLookupStrategy
All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.messaging.PKCEOptions>, org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,net.shibboleth.oidc.profile.messaging.PKCEOptions>

public class PKCEOptionsLookupStrategy extends AbstractAgentAndRelyingPartyContextLookupFunction<net.shibboleth.oidc.profile.messaging.PKCEOptions>
A strategy function that looks up PKCEOptions from a MessageContext by consulting the OIDCAuthenticationRelyingPartyProfileConfiguration associated with the current request context. PKCE is checked to be enabled from the AuthenticationProfileConfiguration.isForceAuthn(ProfileRequestContext), and the method is taken from OIDCSSOProfileConfiguration.isAllowPKCEPlain(ProfileRequestContext).
  • Constructor Details

    • PKCEOptionsLookupStrategy

      public PKCEOptionsLookupStrategy()
  • Method Details

    • apply

      public net.shibboleth.oidc.profile.messaging.PKCEOptions apply(@Nullable org.opensaml.messaging.context.MessageContext messageContext)