クラス InMemoryReactiveOAuth2AuthorizedClientService
java.lang.ObjectSE
org.springframework.security.oauth2.client.InMemoryReactiveOAuth2AuthorizedClientService
- 実装されたすべてのインターフェース:
ReactiveOAuth2AuthorizedClientService
public final class InMemoryReactiveOAuth2AuthorizedClientService
extends ObjectSE
implements ReactiveOAuth2AuthorizedClientService
コンストラクターの概要
コンストラクターコンストラクター説明InMemoryReactiveOAuth2AuthorizedClientService
(ReactiveClientRegistrationRepository clientRegistrationRepository) 指定されたパラメーターを使用してInMemoryReactiveOAuth2AuthorizedClientService
を構築します。メソッドのサマリー
修飾子と型メソッド説明<T extends OAuth2AuthorizedClient>
reactor.core.publisher.Mono<T>loadAuthorizedClient
(StringSE clientRegistrationId, StringSE principalName) reactor.core.publisher.Mono<VoidSE>
removeAuthorizedClient
(StringSE clientRegistrationId, StringSE principalName) 指定されたクライアント登録識別子とエンドユーザーのPrincipal
名に関連付けられたOAuth2AuthorizedClient
を削除します。reactor.core.publisher.Mono<VoidSE>
saveAuthorizedClient
(OAuth2AuthorizedClient authorizedClient, Authentication principal) 指定されたエンドユーザーAuthentication
(リソース所有者)に関連付けてOAuth2AuthorizedClient
を保存します。
コンストラクターの詳細
InMemoryReactiveOAuth2AuthorizedClientService
public InMemoryReactiveOAuth2AuthorizedClientService(ReactiveClientRegistrationRepository clientRegistrationRepository) 指定されたパラメーターを使用してInMemoryReactiveOAuth2AuthorizedClientService
を構築します。- パラメーター:
clientRegistrationRepository
- クライアント登録のリポジトリ
メソッドの詳細
loadAuthorizedClient
public <T extends OAuth2AuthorizedClient> reactor.core.publisher.Mono<T> loadAuthorizedClient(StringSE clientRegistrationId, StringSE principalName) インターフェースからコピーされた説明:ReactiveOAuth2AuthorizedClientService
- 次で指定:
- インターフェース
ReactiveOAuth2AuthorizedClientService
のloadAuthorizedClient
- 型パラメーター:
T
- OAuth2AuthorizedClient の型- パラメーター:
clientRegistrationId
- クライアントの登録の識別子principalName
- エンドユーザーPrincipal
の名前 (リソース所有者)- 戻り値:
OAuth2AuthorizedClient
またはnull
が利用できない場合
saveAuthorizedClient
public reactor.core.publisher.Mono<VoidSE> saveAuthorizedClient(OAuth2AuthorizedClient authorizedClient, Authentication principal) インターフェースからコピーされた説明:ReactiveOAuth2AuthorizedClientService
指定されたエンドユーザーAuthentication
(リソース所有者)に関連付けてOAuth2AuthorizedClient
を保存します。- 次で指定:
- インターフェース
ReactiveOAuth2AuthorizedClientService
のsaveAuthorizedClient
- パラメーター:
authorizedClient
- 認可されたクライアントprincipal
- エンドユーザーAuthentication
(リソース所有者)
removeAuthorizedClient
public reactor.core.publisher.Mono<VoidSE> removeAuthorizedClient(StringSE clientRegistrationId, StringSE principalName) インターフェースからコピーされた説明:ReactiveOAuth2AuthorizedClientService
指定されたクライアント登録識別子とエンドユーザーのPrincipal
名に関連付けられたOAuth2AuthorizedClient
を削除します。- 次で指定:
- インターフェース
ReactiveOAuth2AuthorizedClientService
のremoveAuthorizedClient
- パラメーター:
clientRegistrationId
- クライアントの登録の識別子principalName
- エンドユーザーPrincipal
の名前 (リソース所有者)