Class ExtraAudiencesLookupStrategy
java.lang.Object
net.shibboleth.oidc.security.jwt.claims.impl.ExtraAudiencesLookupStrategy
- All Implemented Interfaces:
BiFunction<ProfileRequestContext,JWTClaimsSet, Set<String>>
public class ExtraAudiencesLookupStrategy
extends Object
implements BiFunction<ProfileRequestContext,JWTClaimsSet,Set<String>>
Locate additional accepted audiences from the ID Token profile config value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ProfileRequestContext,RelyingPartyContext> Lookup function for relying party context. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
relyingPartyContextLookupStrategy
@Nonnull private final Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategyLookup function for relying party context.
-
-
Constructor Details
-
ExtraAudiencesLookupStrategy
public ExtraAudiencesLookupStrategy(@ParameterName(name="relyingPartyContextLookupStrategy") @Nonnull Function<ProfileRequestContext, RelyingPartyContext> strategy) Constructor.- Parameters:
strategy- the strategy used to lookup a relying party context
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<ProfileRequestContext,JWTClaimsSet, Set<String>>
-