Class IDTokenHintLookupStrategy

java.lang.Object
net.shibboleth.profile.context.navigate.messaging.AbstractRelyingPartyLookupFunction<ResultType>
net.shibboleth.sp.oidc.profile.context.navigate.AbstractAgentAndRelyingPartyContextLookupFunction<com.nimbusds.jwt.JWT>
net.shibboleth.sp.oidc.profile.context.navigate.IDTokenHintLookupStrategy
All Implemented Interfaces:
Function<org.opensaml.messaging.context.MessageContext,com.nimbusds.jwt.JWT>, org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,com.nimbusds.jwt.JWT>

public class IDTokenHintLookupStrategy extends AbstractAgentAndRelyingPartyContextLookupFunction<com.nimbusds.jwt.JWT>
A lookup strategy that locates the ID Token, used as a hint in a logout request, from the OIDCLogoutContext.
  • Field Details

    • PRC_LOOKUP

      @Nonnull private static final org.opensaml.profile.context.navigate.ParentProfileRequestContextLookup<org.opensaml.messaging.context.MessageContext> PRC_LOOKUP
      Lookup function for parent ProfileRequestContext.
    • logoutContextLookupStrategy

      @Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,OIDCLogoutContext> logoutContextLookupStrategy
      Strategy used to locate the OIDCLogoutContext.
  • Constructor Details

    • IDTokenHintLookupStrategy

      public IDTokenHintLookupStrategy(@ParameterName(name="oidcLogoutContextLookupStrategy") @Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,OIDCLogoutContext> strategy)
      Constructor.
      Parameters:
      strategy - strategy to find the logout context
  • Method Details

    • apply

      @Nullable public com.nimbusds.jwt.JWT apply(@Nullable org.opensaml.messaging.context.MessageContext messageContext)