Package io.quarkus.oidc
Class OidcTenantConfig.Backchannel
- java.lang.Object
-
- io.quarkus.oidc.OidcTenantConfig.Backchannel
-
- Enclosing class:
- OidcTenantConfig
public static class OidcTenantConfig.Backchannel extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<Duration>cleanUpTimerIntervalToken cache timer interval.StringlogoutTokenKeyLogout token claim whose value will be used as a key for caching the tokens.Optional<String>pathThe relative path of the Back-Channel Logout endpoint at the application.inttokenCacheSizeMaximum number of logout tokens that can be cached before they are matched against ID tokens stored in session cookies.DurationtokenCacheTimeToLiveNumber of minutes a logout token can be cached for.
-
Constructor Summary
Constructors Constructor Description Backchannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Duration>getCleanUpTimerInterval()StringgetLogoutTokenKey()Optional<String>getPath()intgetTokenCacheSize()DurationgetTokenCacheTimeToLive()voidsetCleanUpTimerInterval(Duration cleanUpTimerInterval)voidsetLogoutTokenKey(String logoutTokenKey)voidsetPath(Optional<String> path)voidsetTokenCacheSize(int tokenCacheSize)voidsetTokenCacheTimeToLive(Duration tokenCacheTimeToLive)
-
-
-
Field Detail
-
path
@ConfigItem public Optional<String> path
The relative path of the Back-Channel Logout endpoint at the application.
-
tokenCacheSize
@ConfigItem(defaultValue="10") public int tokenCacheSize
Maximum number of logout tokens that can be cached before they are matched against ID tokens stored in session cookies.
-
tokenCacheTimeToLive
@ConfigItem(defaultValue="10M") public Duration tokenCacheTimeToLive
Number of minutes a logout token can be cached for.
-
cleanUpTimerInterval
@ConfigItem public Optional<Duration> cleanUpTimerInterval
Token cache timer interval. If this property is set then a timer will check and remove the stale entries periodically.
-
logoutTokenKey
@ConfigItem(defaultValue="sub") public String logoutTokenKey
Logout token claim whose value will be used as a key for caching the tokens. Only `sub` (subject) and `sid` (session id) claims can be used as keys. Set it to `sid` only if ID tokens issued by the OIDC provider have no `sub` but have `sid` claim.
-
-
Method Detail
-
getLogoutTokenKey
public String getLogoutTokenKey()
-
setLogoutTokenKey
public void setLogoutTokenKey(String logoutTokenKey)
-
getTokenCacheSize
public int getTokenCacheSize()
-
setTokenCacheSize
public void setTokenCacheSize(int tokenCacheSize)
-
getTokenCacheTimeToLive
public Duration getTokenCacheTimeToLive()
-
setTokenCacheTimeToLive
public void setTokenCacheTimeToLive(Duration tokenCacheTimeToLive)
-
setCleanUpTimerInterval
public void setCleanUpTimerInterval(Duration cleanUpTimerInterval)
-
-