Package org.springframework.security.oauth2.client.web.server
package org.springframework.security.oauth2.client.web.server
-
ClassDescriptionAn implementation of an
ServerOAuth2AuthorizedClientRepository
that delegates to the providedServerOAuth2AuthorizedClientRepository
if the currentPrincipal
is authenticated, otherwise, to the default (or provided)ServerOAuth2AuthorizedClientRepository
if the current request is unauthenticated (or anonymous).The default implementation ofServerOAuth2AuthorizationRequestResolver
.AFilter
for the OAuth 2.0 Authorization Code Grant, which handles the processing of the OAuth 2.0 Authorization Response.ThisWebFilter
initiates 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 ofOAuth2AuthorizationRequest
between requests.Converts from aServerWebExchange
to anOAuth2AuthorizationCodeAuthenticationToken
that can be authenticated.Implementations of this interface are capable of resolving anOAuth2AuthorizationRequest
from the providedServerWebExchange
.Implementations of this interface are responsible for the persistence ofAuthorized Client(s)
between requests.An implementation of anServerAuthorizationRequestRepository
that storesOAuth2AuthorizationRequest
in theWebSession
.An implementation of anOAuth2AuthorizedClientRepository
that storesOAuth2AuthorizedClient
's in theHttpSession
.