Class IDTokenJOSEHeaderLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractTokenResponseLookupStrategy
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.IDTokenJOSEHeaderLookupStrategy
-
- All Implemented Interfaces:
Function<ProfileRequestContext,com.nimbusds.jose.JWSHeader>
@ThreadSafe public class IDTokenJOSEHeaderLookupStrategy extends AbstractTokenResponseLookupStrategy implements Function<ProfileRequestContext,com.nimbusds.jose.JWSHeader>
Function that extracts the JWS JOSE header from the id_token inside theAccessTokenResponseContext.
-
-
Constructor Summary
Constructors Constructor Description IDTokenJOSEHeaderLookupStrategy()Constructor.IDTokenJOSEHeaderLookupStrategy(Function<ProfileRequestContext,AccessTokenResponseContext> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.jose.JWSHeaderapply(ProfileRequestContext prc)-
Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.AbstractTokenResponseLookupStrategy
getTokenResponseContextLookupStrategy
-
-
-
-
Constructor Detail
-
IDTokenJOSEHeaderLookupStrategy
public IDTokenJOSEHeaderLookupStrategy()
Constructor.
-
IDTokenJOSEHeaderLookupStrategy
public IDTokenJOSEHeaderLookupStrategy(@Nonnull @ParameterName(name="accessTokenContextLookupStrategy") Function<ProfileRequestContext,AccessTokenResponseContext> strategy)
Constructor.- Parameters:
strategy- the AccessTokenResponseContext lookup strategy to use.
-
-
Method Detail
-
apply
@Nullable public com.nimbusds.jose.JWSHeader apply(@Nonnull ProfileRequestContext prc)- Specified by:
applyin interfaceFunction<ProfileRequestContext,com.nimbusds.jose.JWSHeader>
-
-