Class TokenRequestSubjectLookupFunction
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractTokenClaimsLookupFunction<String>
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.TokenRequestSubjectLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,String> ContextDataLookupFunction<ProfileRequestContext,String>
For Token and UserInfo end points.
A function that returns subject claims via a lookup function. This lookup locates subject from token (Authorization
Code / Access Token) for token request handling. If subject is not available, null is returned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) StringdoLookup(TokenClaimsSet tokenClaims) Implemented to perform the actual lookup.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractTokenClaimsLookupFunction
apply
-
Constructor Details
-
TokenRequestSubjectLookupFunction
public TokenRequestSubjectLookupFunction()
-
-
Method Details
-
doLookup
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractTokenClaimsLookupFunction<String>- Parameters:
tokenClaims- token claims set to perform the lookup from.- Returns:
- lookup value.
-