Interface OAuth2RefreshTokenProducingProfileConfiguration
-
- All Superinterfaces:
Component,net.shibboleth.idp.profile.config.ConditionalProfileConfiguration,IdentifiedComponent,OAuth2ProfileConfiguration,net.shibboleth.idp.profile.config.ProfileConfiguration
- All Known Subinterfaces:
OAuth2TokenConfiguration,OIDCAuthorizationConfiguration,OIDCSSOProviderConfiguration
public interface OAuth2RefreshTokenProducingProfileConfiguration extends OAuth2ProfileConfiguration
Configuration common to OAuth 2.0 refresh token producing profiles.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DurationgetRefreshTokenChainLifetime(ProfileRequestContext profileRequestContext)Get refresh token chain lifetime.DurationgetRefreshTokenLifetime(ProfileRequestContext profileRequestContext)Deprecated, for removal: This API element is subject to removal in a future version.DurationgetRefreshTokenTimeout(ProfileRequestContext profileRequestContext)Get refresh token timeout.-
Methods inherited from interface net.shibboleth.idp.profile.config.ConditionalProfileConfiguration
getActivationCondition
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
-
-
-
Method Detail
-
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
-
-