クラス JwtReactiveAuthenticationManager
- java.lang.Object
-
- org.springframework.security.oauth2.server.resource.authentication.JwtReactiveAuthenticationManager
- 実装されたすべてのインターフェース:
ReactiveAuthenticationManager
public final class JwtReactiveAuthenticationManager extends java.lang.Object implements ReactiveAuthenticationManager
Jwt トークンのReactiveAuthenticationManager
。- 導入:
- 5.1
コンストラクターのサマリー
コンストラクター コンストラクター 説明 JwtReactiveAuthenticationManager(ReactiveJwtDecoder jwtDecoder)
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 reactor.core.publisher.Mono<Authentication>
authenticate(Authentication authentication)
提供されたAuthentication
を認証しようとしますvoid
setJwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<Jwt,? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> jwtAuthenticationConverter)
コンストラクターの詳細
JwtReactiveAuthenticationManager
public JwtReactiveAuthenticationManager(ReactiveJwtDecoder jwtDecoder)
メソッドの詳細
authenticate
public reactor.core.publisher.Mono<Authentication> authenticate(Authentication authentication)
インターフェースからコピーされた説明:ReactiveAuthenticationManager
提供されたAuthentication
を認証しようとします- 次で指定:
- インターフェース
ReactiveAuthenticationManager
のauthenticate
- パラメーター:
authentication
- テストするAuthentication
- 戻り値:
- 認証が成功すると、
Authentication
が返されます。認証を判別できない場合、空の Mono が返されます。認証が失敗すると、Mono エラーが返されます。
setJwtAuthenticationConverter
public void setJwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<Jwt,? extends reactor.core.publisher.Mono<? extends AbstractAuthenticationToken>> jwtAuthenticationConverter)
- パラメーター:
jwtAuthenticationConverter
- 使用するConverter