インターフェース ServerAuthenticationConverter
- すべての既知の実装クラス:
ServerBearerTokenAuthenticationConverter、ServerFormLoginAuthenticationConverter、ServerHttpBasicAuthenticationConverter、ServerOAuth2AuthorizationCodeAuthenticationTokenConverter、ServerX509AuthenticationConverter
- 関数インターフェース:
- これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。
@FunctionalInterface public interface ServerAuthenticationConverterServerWebExchangeから提供された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