Class RawTokenResponseLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.context.navigate.RawTokenResponseLookupStrategy
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Map<String,Object>>
@ThreadSafe public class RawTokenResponseLookupStrategy extends Object implements Function<ProfileRequestContext,Map<String,Object>>
Function that extracts the raw token response from theAccessTokenResponseContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,AccessTokenResponseContext>tokenResponseContextLookupStrategyStrategy used to locate theAccessTokenResponseContextto extract the id_token from.
-
Constructor Summary
Constructors Constructor Description RawTokenResponseLookupStrategy()Constructor.RawTokenResponseLookupStrategy(Function<ProfileRequestContext,AccessTokenResponseContext> strategy)Constructor.
-
-
-
Field Detail
-
tokenResponseContextLookupStrategy
@Nonnull private final Function<ProfileRequestContext,AccessTokenResponseContext> tokenResponseContextLookupStrategy
Strategy used to locate theAccessTokenResponseContextto extract the id_token from.
-
-
Constructor Detail
-
RawTokenResponseLookupStrategy
public RawTokenResponseLookupStrategy()
Constructor.
-
RawTokenResponseLookupStrategy
public RawTokenResponseLookupStrategy(@ParameterName(name="strategy") @Nonnull Function<ProfileRequestContext,AccessTokenResponseContext> strategy)
Constructor.- Parameters:
strategy- the AccessTokenResponseContext lookup strategy to use.
-
-
Method Detail
-
apply
@Nullable public Map<String,Object> apply(@Nonnull ProfileRequestContext prc)
-
-