Class UserInfoJWTLookupStrategy
java.lang.Object
net.shibboleth.sp.oidc.profile.context.navigate.UserInfoJWTLookupStrategy
- All Implemented Interfaces:
Function<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>
@ThreadSafe
public class UserInfoJWTLookupStrategy
extends Object
implements Function<org.opensaml.profile.context.ProfileRequestContext,com.nimbusds.jwt.JWT>
Function that extracts the UserInfo claims as a JWT from the
UserInfoResponseContext. If not found, returns
null.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.profile.context.UserInfoResponseContext> Strategy used to look up theUserInfoResponseContext. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.UserInfoJWTLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.oidc.profile.context.UserInfoResponseContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncom.nimbusds.jwt.JWTapply(org.opensaml.profile.context.ProfileRequestContext prc)
-
Field Details
-
userInfoResponseContextLookupStrategy
@Nonnull private final Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.oidc.profile.context.UserInfoResponseContext> userInfoResponseContextLookupStrategyStrategy used to look up theUserInfoResponseContext.
-
-
Constructor Details
-
UserInfoJWTLookupStrategy
public UserInfoJWTLookupStrategy()Constructor. -
UserInfoJWTLookupStrategy
public UserInfoJWTLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext, net.shibboleth.oidc.profile.context.UserInfoResponseContext> strategy) Constructor.- Parameters:
strategy- the UserInfo response context lookup strategy to use.
-
-
Method Details