Class EncryptedIDTokenLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractTokenResponseLookupStrategy
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.EncryptedIDTokenLookupStrategy
-
- All Implemented Interfaces:
Function<ProfileRequestContext,com.nimbusds.jwt.JWT>
@ThreadSafe public class EncryptedIDTokenLookupStrategy extends AbstractTokenResponseLookupStrategy implements Function<ProfileRequestContext,com.nimbusds.jwt.JWT>
Function that extracts the id_token from theAccessTokenResponseContextiff it is anEncryptedJWTtype. If notnullis returned.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description EncryptedIDTokenLookupStrategy()Constructor.EncryptedIDTokenLookupStrategy(Function<ProfileRequestContext,AccessTokenResponseContext> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.jwt.JWTapply(ProfileRequestContext prc)-
Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractTokenResponseLookupStrategy
getTokenResponseContextLookupStrategy
-
-
-
-
Constructor Detail
-
EncryptedIDTokenLookupStrategy
public EncryptedIDTokenLookupStrategy()
Constructor.
-
EncryptedIDTokenLookupStrategy
public EncryptedIDTokenLookupStrategy(@ParameterName(name="accessTokenContextLookupStrategy") @Nonnull Function<ProfileRequestContext,AccessTokenResponseContext> strategy)
Constructor.- Parameters:
strategy- the AccessTokenResponseContext lookup strategy to use.
-
-
Method Detail
-
apply
@Nullable public com.nimbusds.jwt.JWT apply(@Nonnull ProfileRequestContext prc)- Specified by:
applyin interfaceFunction<ProfileRequestContext,com.nimbusds.jwt.JWT>
-
-