Package org.springframework.security.oauth2.client
Core classes and interfaces providing support for OAuth 2.0 Client.
-
Interface Summary Interface Description OAuth2AuthorizationFailureHandler Handles when an OAuth 2.0 Client fails to authorize (or re-authorize) via the Authorization Server or Resource Server.OAuth2AuthorizationSuccessHandler Handles when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the Authorization Server.OAuth2AuthorizedClientManager Implementations of this interface are responsible for the overall management ofAuthorized Client(s)
.OAuth2AuthorizedClientProvider A strategy for authorizing (or re-authorizing) an OAuth 2.0 Client.OAuth2AuthorizedClientService Implementations of this interface are responsible for the management ofAuthorized Client(s)
, which provide the purpose of associating anAccess Token
credential to aClient
and Resource Owner, who is thePrincipal
that originally granted the authorization.ReactiveOAuth2AuthorizationFailureHandler Handles when an OAuth 2.0 Client fails to authorize (or re-authorize) via the authorization server or resource server.ReactiveOAuth2AuthorizationSuccessHandler Handles when an OAuth 2.0 Client has been successfully authorized (or re-authorized) via the authorization server.ReactiveOAuth2AuthorizedClientManager Implementations of this interface are responsible for the overall management ofAuthorized Client(s)
.ReactiveOAuth2AuthorizedClientProvider A strategy for authorizing (or re-authorizing) an OAuth 2.0 Client.ReactiveOAuth2AuthorizedClientService Implementations of this interface are responsible for the management ofAuthorized Client(s)
, which provide the purpose of associating anAccess Token
credential to aClient
and Resource Owner, who is thePrincipal
that originally granted the authorization.RemoveAuthorizedClientOAuth2AuthorizationFailureHandler.OAuth2AuthorizedClientRemover Removes anOAuth2AuthorizedClient
from anOAuth2AuthorizedClientRepository
orOAuth2AuthorizedClientService
.RemoveAuthorizedClientReactiveOAuth2AuthorizationFailureHandler.OAuth2AuthorizedClientRemover -
Exception Summary Exception Description ClientAuthorizationException This exception is thrown on the client side when an attempt to authenticate or authorize an OAuth 2.0 client fails.ClientAuthorizationRequiredException This exception is thrown when an OAuth 2.0 Client is required to obtain authorization from the Resource Owner.