Class ServerHttpSecurity.OidcLogoutSpec
java.lang.Object
org.springframework.security.config.web.server.ServerHttpSecurity.OidcLogoutSpec
- Enclosing class:
- ServerHttpSecurity
Configures OIDC 1.0 Logout support
- Since:
- 6.2
-
Nested Class Summary
Modifier and TypeClassDescriptionfinal class
A configurer for configuring OIDC Back-Channel Logout -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionand()
Deprecated, for removal: This API element is subject to removal in a future version.backChannel
(Customizer<ServerHttpSecurity.OidcLogoutSpec.BackChannelLogoutConfigurer> backChannelLogoutConfigurer) Configure OIDC Back-Channel Logout using the providedConsumer
clientRegistrationRepository
(ReactiveClientRegistrationRepository clientRegistrationRepository) Configures theReactiveClientRegistrationRepository
.oidcSessionRegistry
(ReactiveOidcSessionRegistry sessionRegistry) Configures theReactiveOidcSessionRegistry
.
-
Constructor Details
-
OidcLogoutSpec
public OidcLogoutSpec()
-
-
Method Details
-
clientRegistrationRepository
public ServerHttpSecurity.OidcLogoutSpec clientRegistrationRepository(ReactiveClientRegistrationRepository clientRegistrationRepository) Configures theReactiveClientRegistrationRepository
. Default is to look the value up as a Bean.- Parameters:
clientRegistrationRepository
- the repository to use- Returns:
- the
ServerHttpSecurity.OidcLogoutSpec
to customize
-
oidcSessionRegistry
public ServerHttpSecurity.OidcLogoutSpec oidcSessionRegistry(ReactiveOidcSessionRegistry sessionRegistry) Configures theReactiveOidcSessionRegistry
. Default is to use the value fromServerHttpSecurity.OAuth2LoginSpec.oidcSessionRegistry
, then look the value up as a Bean, or else use anInMemoryReactiveOidcSessionRegistry
.- Parameters:
sessionRegistry
- the registry to use- Returns:
- the
ServerHttpSecurity.OidcLogoutSpec
to customize
-
backChannel
public ServerHttpSecurity.OidcLogoutSpec backChannel(Customizer<ServerHttpSecurity.OidcLogoutSpec.BackChannelLogoutConfigurer> backChannelLogoutConfigurer) Configure OIDC Back-Channel Logout using the providedConsumer
- Returns:
- the
ServerHttpSecurity.OidcLogoutSpec
for further configuration
-
and
Deprecated, for removal: This API element is subject to removal in a future version.
-