クラス OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
- 含まれているクラス:
- OAuth2ClientConfigurer<B extends HttpSecurityBuilder<B>>
public final class OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer extends java.lang.Object
OAuth 2.0 認証コード付与の設定オプション。
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
accessTokenResponseClient(OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient)
トークンエンドポイントからアクセストークン資格情報をリクエストするために使用されるクライアントを設定します。OAuth2ClientConfigurer<B>
and()
さらに構成するためにOAuth2ClientConfigurer
を返します。OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
authorizationRequestRepository(AuthorizationRequestRepository<OAuth2AuthorizationRequest> authorizationRequestRepository)
OAuth2AuthorizationRequest
の保存に使用されるリポジトリを設定します。OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
authorizationRequestResolver(OAuth2AuthorizationRequestResolver authorizationRequestResolver)
OAuth2AuthorizationRequest
の解決に使用されるリゾルバーを設定します。
メソッドの詳細
authorizationRequestResolver
public OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer authorizationRequestResolver(OAuth2AuthorizationRequestResolver authorizationRequestResolver)
OAuth2AuthorizationRequest
の解決に使用されるリゾルバーを設定します。- パラメーター:
authorizationRequestResolver
-OAuth2AuthorizationRequest
の解決に使用されるリゾルバー- 戻り値:
- さらなる構成のための
OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
authorizationRequestRepository
public OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer authorizationRequestRepository(AuthorizationRequestRepository<OAuth2AuthorizationRequest> authorizationRequestRepository)
OAuth2AuthorizationRequest
の保存に使用されるリポジトリを設定します。- パラメーター:
authorizationRequestRepository
-OAuth2AuthorizationRequest
の保存に使用されるリポジトリ- 戻り値:
- さらなる構成のための
OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
accessTokenResponseClient
public OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer accessTokenResponseClient(OAuth2AccessTokenResponseClient<OAuth2AuthorizationCodeGrantRequest> accessTokenResponseClient)
トークンエンドポイントからアクセストークン資格情報をリクエストするために使用されるクライアントを設定します。- パラメーター:
accessTokenResponseClient
- トークンエンドポイントからアクセストークンクレデンシャルをリクエストするために使用されるクライアント- 戻り値:
- さらなる構成のための
OAuth2ClientConfigurer.AuthorizationCodeGrantConfigurer
and
public OAuth2ClientConfigurer<B> and()
さらに構成するためにOAuth2ClientConfigurer
を返します。