Class EncryptedIDTokenLookupStrategy
java.lang.Object
net.shibboleth.oidc.profile.context.navigate.AbstractTokenResponseLookupStrategy
net.shibboleth.oidc.profile.context.navigate.EncryptedIDTokenLookupStrategy
- All Implemented Interfaces:
Function<ProfileRequestContext,JWT>
@ThreadSafe
public class EncryptedIDTokenLookupStrategy
extends AbstractTokenResponseLookupStrategy
implements Function<ProfileRequestContext,JWT>
Function that extracts the id_token from the
AccessTokenResponseContext iff it is an EncryptedJWT
type. If not null is returned.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor. -
Method Summary
Methods inherited from class net.shibboleth.oidc.profile.context.navigate.AbstractTokenResponseLookupStrategy
getTokenResponseContextLookupStrategy
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logLogger.
-
-
Constructor Details
-
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 Details
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,JWT>
-