クラス 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の名前 (リソース所有者)