Interface OAuth2RefreshTokenProducingProfileConfiguration

All Superinterfaces:
Component, ConditionalProfileConfiguration, IdentifiedComponent, OAuth2ProfileConfiguration, ProfileConfiguration
All Known Subinterfaces:
OAuth2TokenConfiguration, OIDCAuthorizationConfiguration, OIDCSSOProviderConfiguration
All Known Implementing Classes:
AbstractOIDCSSOConfiguration, DefaultOAuth2TokenConfiguration, DefaultOIDCAuthorizationConfiguration

public interface OAuth2RefreshTokenProducingProfileConfiguration extends OAuth2ProfileConfiguration
Configuration common to OAuth 2.0 refresh token producing profiles.
  • Method Details

    • getRefreshTokenLifetime

      @Deprecated(since="2.2.0", forRemoval=true) @Nonnull @Positive Duration getRefreshTokenLifetime(@Nullable ProfileRequestContext profileRequestContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get refresh token lifetime.

      Defaults to 2 hours.

      Parameters:
      profileRequestContext - profile request context
      Returns:
      refresh token lifetime
    • getRefreshTokenTimeout

      @Nonnull @Positive Duration getRefreshTokenTimeout(@Nullable ProfileRequestContext profileRequestContext)
      Get refresh token timeout. The expiration of a single refresh token is calculated based on this value.

      Defaults to 2 hours.

      Parameters:
      profileRequestContext - profile request context
      Returns:
      refresh token timeout
      Since:
      2.2.0
    • getRefreshTokenChainLifetime

      @Nonnull @Positive Duration getRefreshTokenChainLifetime(@Nullable ProfileRequestContext profileRequestContext)
      Get refresh token chain lifetime. The expiration of a single refresh token is calculated based on this value.

      Defaults to 2 hours.

      Parameters:
      profileRequestContext - profile request context
      Returns:
      refresh token timeout
      Since:
      2.2.0