Package org.springframework.security.oauth2.client.web.server
package org.springframework.security.oauth2.client.web.server
-
ClassDescriptionAn implementation of an
ServerOAuth2AuthorizedClientRepositorythat delegates to the providedServerOAuth2AuthorizedClientRepositoryif the currentPrincipalis authenticated, otherwise, to the default (or provided)ServerOAuth2AuthorizedClientRepositoryif the current request is unauthenticated (or anonymous).The default implementation ofServerOAuth2AuthorizationRequestResolver.AFilterfor the OAuth 2.0 Authorization Code Grant, which handles the processing of the OAuth 2.0 Authorization Response.ThisWebFilterinitiates the authorization code grant flow by redirecting the End-User's user-agent to the Authorization Server's Authorization Endpoint.Implementations of this interface are responsible for the persistence ofOAuth2AuthorizationRequestbetween requests.Converts from aServerWebExchangeto anOAuth2AuthorizationCodeAuthenticationTokenthat can be authenticated.Implementations of this interface are capable of resolving anOAuth2AuthorizationRequestfrom the providedServerWebExchange.Implementations of this interface are responsible for the persistence ofAuthorized Client(s)between requests.An implementation of anServerAuthorizationRequestRepositorythat storesOAuth2AuthorizationRequestin theWebSession.An implementation of anOAuth2AuthorizedClientRepositorythat storesOAuth2AuthorizedClient's in theHttpSession.