Class AbstractTokenResponseLookupStrategy
java.lang.Object
net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractTokenResponseLookupStrategy
- Direct Known Subclasses:
AccessTokenLookupStrategy,DefaultIDTokenLookupStrategy,EncryptedIDTokenLookupStrategy,IDTokenJOSEHeaderLookupStrategy,SubFromIDTokenLookupFunction
Base class for looking up the token response context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ProfileRequestContext,AccessTokenResponseContext> Strategy used to locate theAccessTokenResponseContextto extract the id_token from. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor.protectedAbstractTokenResponseLookupStrategy(Function<ProfileRequestContext, AccessTokenResponseContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the token response context lookup strategy.
-
Field Details
-
tokenResponseContextLookupStrategy
@Nonnull private final Function<ProfileRequestContext,AccessTokenResponseContext> tokenResponseContextLookupStrategyStrategy used to locate theAccessTokenResponseContextto extract the id_token from.
-
-
Constructor Details
-
AbstractTokenResponseLookupStrategy
protected AbstractTokenResponseLookupStrategy()Constructor. -
AbstractTokenResponseLookupStrategy
protected AbstractTokenResponseLookupStrategy(@Nonnull Function<ProfileRequestContext, AccessTokenResponseContext> strategy) Constructor.- Parameters:
strategy- the AccessTokenResponseContext lookup strategy to use.
-
-
Method Details
-
getTokenResponseContextLookupStrategy
@Nonnull protected Function<ProfileRequestContext,AccessTokenResponseContext> getTokenResponseContextLookupStrategy()Get the token response context lookup strategy.- Returns:
- the lookup strategy
-