Class HeaderWriterServerLogoutHandler
java.lang.Object
org.springframework.security.web.server.authentication.logout.HeaderWriterServerLogoutHandler
- All Implemented Interfaces:
 ServerLogoutHandler
 A ServerLogoutHandler implementation which writes HTTP headers during logout.
 
- Since:
 - 5.2
 
- 
Constructor Summary
ConstructorsConstructorDescriptionHeaderWriterServerLogoutHandler(ServerHttpHeadersWriter headersWriter) Constructs a new instance using theServerHttpHeadersWriterimplementation. - 
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>logout(WebFilterExchange exchange, Authentication authentication) Invoked when log out is requested 
- 
Constructor Details
- 
HeaderWriterServerLogoutHandler
Constructs a new instance using the
ServerHttpHeadersWriterimplementation.- Parameters:
 headersWriter- aServerHttpHeadersWriterimplementation- Throws:
 IllegalArgumentException- if the argument is null
 
 - 
 - 
Method Details
- 
logout
public reactor.core.publisher.Mono<Void> logout(WebFilterExchange exchange, Authentication authentication) Description copied from interface:ServerLogoutHandlerInvoked when log out is requested- Specified by:
 logoutin interfaceServerLogoutHandler- Parameters:
 exchange- the exchangeauthentication- theAuthentication- Returns:
 - a completion notification (success or error)
 
 
 -