インターフェース ServerAuthenticationConverter
- すべての既知の実装クラス:
ServerBearerTokenAuthenticationConverter
、ServerFormLoginAuthenticationConverter
、ServerHttpBasicAuthenticationConverter
、ServerOAuth2AuthorizationCodeAuthenticationTokenConverter
、ServerX509AuthenticationConverter
- 関数インターフェース:
- これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。
@FunctionalInterface public interface ServerAuthenticationConverter
ServerWebExchange
から提供されたReactiveAuthenticationManager
での認証に使用されるAuthentication
への変換に使用される戦略。結果がMono.empty()
の場合、認証を試行してはならないことを示します。- 導入:
- 5.1
メソッドのサマリー
すべてのメソッド インスタンスメソッド 抽象メソッド 修飾子と型 メソッド 説明 reactor.core.publisher.Mono<Authentication>
convert(org.springframework.web.server.ServerWebExchange exchange)
ServerWebExchange
をAuthentication
に変換します
メソッドの詳細
convert
reactor.core.publisher.Mono<Authentication> convert(org.springframework.web.server.ServerWebExchange exchange)
ServerWebExchange
をAuthentication
に変換します- パラメーター:
exchange
-ServerWebExchange
- 戻り値:
Authentication
を表すMono