Interface OAuth2RefreshTokenProducingProfileConfiguration

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

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

    • getRefreshTokenTimeout

      @ConfigurationSetting(name="refreshTokenTimeout") @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

      @ConfigurationSetting(name="refreshTokenChainLifetime") @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
    • getRefreshTokenType

      @ConfigurationSetting(name="refreshTokenType") @Nullable @NotEmpty String getRefreshTokenType(@Nullable ProfileRequestContext profileRequestContext)
      Get refresh token type.
      Parameters:
      profileRequestContext - profile request context
      Returns:
      refresh token type, or null for unspecified/opaque
      Since:
      3.1.0