Class DefaultRequestCodeChallengeMethodLookupFunction

java.lang.Object
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction<String>
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestCodeChallengeMethodLookupFunction
All Implemented Interfaces:
Function<ProfileRequestContext,String>, ContextDataLookupFunction<ProfileRequestContext,String>

public class DefaultRequestCodeChallengeMethodLookupFunction extends AbstractAuthorizationRequestLookupFunction<String>
A function that returns code challenge method value of the authorization request via a lookup function. This default lookup locates code challenge method from OAuth authorization request if available. If information is not available, null is returned. If there is code_challenge_method in request object it is used instead of code_challenge_method parameter.
  • Field Details

    • log

      @Nonnull private org.slf4j.Logger log
      Class logger.
  • Constructor Details

    • DefaultRequestCodeChallengeMethodLookupFunction

      public DefaultRequestCodeChallengeMethodLookupFunction()
  • Method Details

    • doLookup

      protected String doLookup(@Nonnull com.nimbusds.oauth2.sdk.AuthorizationRequest req)
      Implemented to perform the actual lookup.
      Specified by:
      doLookup in class AbstractAuthorizationRequestLookupFunction<String>
      Parameters:
      req - authorization request to perform the lookup from.
      Returns:
      lookup value.