Class TokenRequestAuthorizationCodeLookupFunction

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

@Deprecated(since="4.2.0", forRemoval=true) public class TokenRequestAuthorizationCodeLookupFunction extends AbstractTokenRequestLookupFunction<String>
Deprecated, for removal: This API element is subject to removal in a future version.
A function that returns raw authorization code value via a lookup function. This lookup locates authorization code from token claims set for token request handling. If token claims are not available, null is returned.
Since:
3.2.0
  • Constructor Details

    • TokenRequestAuthorizationCodeLookupFunction

      public TokenRequestAuthorizationCodeLookupFunction()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • doLookup

      @Nullable String doLookup(@Nonnull TokenRequest req)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Implemented to perform the actual lookup.
      Specified by:
      doLookup in class AbstractTokenRequestLookupFunction<String>
      Parameters:
      req - token request to perform the lookup from.
      Returns:
      lookup value.