Class RefreshTokenLifetimeLookupFunction

java.lang.Object
net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction<Duration>
net.shibboleth.oidc.profile.config.navigate.RefreshTokenLifetimeLookupFunction
All Implemented Interfaces:
Function<ProfileRequestContext,Duration>, ContextDataLookupFunction<ProfileRequestContext,Duration>

@Deprecated(since="2.2.0", forRemoval=true) public class RefreshTokenLifetimeLookupFunction extends AbstractRelyingPartyLookupFunction<Duration>
Deprecated, for removal: This API element is subject to removal in a future version.
A function that returns OAuth2RefreshTokenProducingProfileConfiguration.getRefreshTokenLifetime(ProfileRequestContext) if such a profile is available from a RelyingPartyContext obtained via a lookup function, by default a child of the ProfileRequestContext.

If a specific setting is unavailable, a null value is returned.

  • Constructor Details

    • RefreshTokenLifetimeLookupFunction

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

    • apply

      @Nullable public Duration apply(@Nullable ProfileRequestContext input)
      Deprecated, for removal: This API element is subject to removal in a future version.