クラス AuthenticatedPrincipalOAuth2AuthorizedClientRepository

java.lang.ObjectSE
org.springframework.security.oauth2.client.web.AuthenticatedPrincipalOAuth2AuthorizedClientRepository
実装されたすべてのインターフェース:
OAuth2AuthorizedClientRepository

public final class AuthenticatedPrincipalOAuth2AuthorizedClientRepository extends ObjectSE implements OAuth2AuthorizedClientRepository
現在の Principal が認証されている場合は提供された OAuth2AuthorizedClientService に委譲する OAuth2AuthorizedClientRepository の実装。それ以外の場合は、現在のリクエストが認証されていない(または匿名)場合はデフォルト(または提供されている)OAuth2AuthorizedClientRepository に委譲します。デフォルトの OAuth2AuthorizedClientRepository は HttpSessionOAuth2AuthorizedClientRepository です。
導入:
5.1
関連事項:
  • コンストラクターの詳細

    • AuthenticatedPrincipalOAuth2AuthorizedClientRepository

      public AuthenticatedPrincipalOAuth2AuthorizedClientRepository(OAuth2AuthorizedClientService authorizedClientService)
      指定されたパラメーターを使用して AuthenticatedPrincipalOAuth2AuthorizedClientRepository を構築します。
      パラメーター:
      authorizedClientService - 認可されたクライアントサービス
  • メソッドの詳細