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