Interface ServerAuthenticationConverter
- 
- All Known Implementing Classes:
- ServerBearerTokenAuthenticationConverter,- ServerFormLoginAuthenticationConverter,- ServerHttpBasicAuthenticationConverter,- ServerOAuth2AuthorizationCodeAuthenticationTokenConverter,- ServerX509AuthenticationConverter
 - Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
 @FunctionalInterface public interface ServerAuthenticationConverterA strategy used for converting from aServerWebExchangeto anAuthenticationused for authenticating with a providedReactiveAuthenticationManager. If the result isMono.empty(), then it signals that no authentication attempt should be made.- Since:
- 5.1
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<Authentication>convert(org.springframework.web.server.ServerWebExchange exchange)Converts aServerWebExchangeto anAuthentication
 
- 
- 
- 
Method Detail- 
convertreactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange) Converts aServerWebExchangeto anAuthentication- Parameters:
- exchange- The- ServerWebExchange
- Returns:
- A Monorepresenting anAuthentication
 
 
- 
 
-