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
Nested ClassesModifier and TypeClassDescriptionfinal classA configurer for configuring OIDC Back-Channel Logout - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbackChannel(Customizer<ServerHttpSecurity.OidcLogoutSpec.BackChannelLogoutConfigurer> backChannelLogoutConfigurer) Configure OIDC Back-Channel Logout using the providedConsumerclientRegistrationRepository(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.OidcLogoutSpecto 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.OidcLogoutSpecto customize 
 - 
backChannel
public ServerHttpSecurity.OidcLogoutSpec backChannel(Customizer<ServerHttpSecurity.OidcLogoutSpec.BackChannelLogoutConfigurer> backChannelLogoutConfigurer) Configure OIDC Back-Channel Logout using the providedConsumer- Returns:
 - the 
ServerHttpSecurity.OidcLogoutSpecfor further configuration 
 
 -