Class DefaultRequestCodeChallengeLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthenticationRequestLookupFunction<String>
-
- net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestCodeChallengeLookupFunction
-
- All Implemented Interfaces:
Function<ProfileRequestContext,String>,ContextDataLookupFunction<ProfileRequestContext,String>
public class DefaultRequestCodeChallengeLookupFunction extends AbstractAuthenticationRequestLookupFunction<String>
A function that returns code challenge value of the authentication request via a lookup function. This default lookup locates code challenge from oidc authentication request if available. If information is not available, null is returned. If there is code_challenge in request object it is used instead of code_challenge parameter.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description DefaultRequestCodeChallengeLookupFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdoLookup(com.nimbusds.openid.connect.sdk.AuthenticationRequest req)Implemented to perform the actual lookup.-
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthenticationRequestLookupFunction
apply, getRequestObject
-
-
-
-
Method Detail
-
doLookup
@Nullable protected String doLookup(@Nonnull com.nimbusds.openid.connect.sdk.AuthenticationRequest req)
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractAuthenticationRequestLookupFunction<String>- Parameters:
req- authentication request to perform the lookup from.- Returns:
- lookup value.
-
-