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 SummaryNested ClassesModifier and TypeClassDescriptionfinal classA configurer for configuring OIDC Back-Channel Logout
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 providedConsumerclientRegistrationRepository(ReactiveClientRegistrationRepository clientRegistrationRepository) Configures theReactiveClientRegistrationRepository.oidcSessionRegistry(ReactiveOidcSessionRegistry sessionRegistry) Configures theReactiveOidcSessionRegistry.
- 
Constructor Details- 
OidcLogoutSpecpublic OidcLogoutSpec()
 
- 
- 
Method Details- 
clientRegistrationRepositorypublic 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
 
- 
oidcSessionRegistrypublic 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
 
- 
backChannelpublic ServerHttpSecurity.OidcLogoutSpec backChannel(Customizer<ServerHttpSecurity.OidcLogoutSpec.BackChannelLogoutConfigurer> backChannelLogoutConfigurer) Configure OIDC Back-Channel Logout using the providedConsumer- Returns:
- the ServerHttpSecurity.OidcLogoutSpecfor further configuration
 
- 
andDeprecated, for removal: This API element is subject to removal in a future version.
 
-