Class ClientIDFromOIDCMetadataContextLookupFunction
java.lang.Object
net.shibboleth.oidc.profile.logic.ClientIDFromOIDCMetadataContextLookupFunction
- All Implemented Interfaces:
BiFunction<ProfileRequestContext,JWTClaimsSet, String>
public class ClientIDFromOIDCMetadataContextLookupFunction
extends Object
implements BiFunction<ProfileRequestContext,JWTClaimsSet,String>
A function that returns client_id via client information stored in
OIDCMetadataContext.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext prc, JWTClaimsSet claimsSet) voidSet the strategy used to return theOIDCMetadataContext.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
-
oidcMetadataContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCMetadataContext> oidcMetadataContextLookupStrategyStrategy that will returnOIDCMetadataContext.
-
-
Constructor Details
-
ClientIDFromOIDCMetadataContextLookupFunction
public ClientIDFromOIDCMetadataContextLookupFunction()Constructor.
-
-
Method Details
-
setOIDCMetadataContextLookupStrategy
public void setOIDCMetadataContextLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCMetadataContext> strategy) Set the strategy used to return theOIDCMetadataContext.- Parameters:
strategy- The lookup strategy.
-
apply
@Nullable public String apply(@Nullable ProfileRequestContext prc, @Nullable JWTClaimsSet claimsSet) - Specified by:
applyin interfaceBiFunction<ProfileRequestContext,JWTClaimsSet, String>
-