Class DefaultRequestedScopeLookupFunction

java.lang.Object
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction<com.nimbusds.oauth2.sdk.Scope>
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultRequestedScopeLookupFunction
All Implemented Interfaces:
Function<ProfileRequestContext,com.nimbusds.oauth2.sdk.Scope>, ContextDataLookupFunction<ProfileRequestContext,com.nimbusds.oauth2.sdk.Scope>

@Deprecated(since="4.2.0", forRemoval=true) public class DefaultRequestedScopeLookupFunction extends AbstractAuthorizationRequestLookupFunction<com.nimbusds.oauth2.sdk.Scope>
Deprecated, for removal: This API element is subject to removal in a future version.
A function that returns copy of requested scopes via a lookup function. This default lookup locates scope from OAuth authorization request if available. If information is not available, null is returned. If there is scope in request object it is used instead of scope parameter.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.slf4j.Logger
    Deprecated, for removal: This API element is subject to removal in a future version.
    Class logger.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.nimbusds.oauth2.sdk.Scope
    doLookup(com.nimbusds.oauth2.sdk.AuthorizationRequest req)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Implemented to perform the actual lookup.

    Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.AbstractAuthorizationRequestLookupFunction

    apply, getRequestObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Field Details

    • log

      @Nonnull private org.slf4j.Logger log
      Deprecated, for removal: This API element is subject to removal in a future version.
      Class logger.
  • Constructor Details

    • DefaultRequestedScopeLookupFunction

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

    • doLookup

      protected com.nimbusds.oauth2.sdk.Scope doLookup(@Nonnull com.nimbusds.oauth2.sdk.AuthorizationRequest 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 AbstractAuthorizationRequestLookupFunction<com.nimbusds.oauth2.sdk.Scope>
      Parameters:
      req - authorization request to perform the lookup from.
      Returns:
      lookup value.