Interface OAuth2RefreshTokenProducingProfileConfiguration
- All Superinterfaces:
Component,ConditionalProfileConfiguration,IdentifiedComponent,OAuth2ProfileConfiguration,ProfileConfiguration
- All Known Subinterfaces:
OAuth2TokenConfiguration,OIDCAuthorizationConfiguration,OIDCSSOProviderConfiguration
- All Known Implementing Classes:
AbstractOIDCSSOConfiguration,DefaultOAuth2TokenConfiguration,DefaultOIDCAuthorizationConfiguration
Configuration common to OAuth 2.0 refresh token producing profiles.
-
Method Summary
Modifier and TypeMethodDescriptiongetRefreshTokenChainLifetime(ProfileRequestContext profileRequestContext) Get refresh token chain lifetime.getRefreshTokenLifetime(ProfileRequestContext profileRequestContext) Deprecated, for removal: This API element is subject to removal in a future version.getRefreshTokenTimeout(ProfileRequestContext profileRequestContext) Get refresh token timeout.Methods inherited from interface net.shibboleth.idp.profile.config.ConditionalProfileConfiguration
getActivationConditionMethods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.idp.profile.config.ProfileConfiguration
getInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfiguration
-
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
-
getRefreshTokenTimeout(ProfileRequestContext)