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>
cleanUpTimerInterval
Token cache timer interval.String
logoutTokenKey
Logout token claim whose value will be used as a key for caching the tokens.Optional<String>
path
The relative path of the Back-Channel Logout endpoint at the application.int
tokenCacheSize
Maximum number of logout tokens that can be cached before they are matched against ID tokens stored in session cookies.Duration
tokenCacheTimeToLive
Number 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()
String
getLogoutTokenKey()
Optional<String>
getPath()
int
getTokenCacheSize()
Duration
getTokenCacheTimeToLive()
void
setCleanUpTimerInterval(Duration cleanUpTimerInterval)
void
setLogoutTokenKey(String logoutTokenKey)
void
setPath(Optional<String> path)
void
setTokenCacheSize(int tokenCacheSize)
void
setTokenCacheTimeToLive(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)
-
-