@NonNullApi
Package com.broadleafcommerce.auth.client.service
-
Interface Summary Interface Description ContextHelperService This interface is intended to encapsulate functionality for getting client id and tenant id from the request contextOAuthClientRegistrationPersistenceService<P extends OAuthClientRegistrationWrapper> Service responsible for CRUD operations related toOAuthClientRegistrationWrapper
. -
Class Summary Class Description DefaultContextHelperService This class uses the RequestContextHolder to read the client_id for the current request, then looks up the corresponding tenant id.DefaultOAuth2AuthorizedClientRepository This service stores anOAuth2AuthorizedClient
as a Base64 encoded value in a cookie.DefaultOAuth2AuthorizedClientRepository.TenantAwareOAuth2AuthorizedClientWrapper This class holds the necessary fields for saving and loadingOAuth2AuthorizedClient
.DefaultOAuthClientRegistrationPersistenceService<P extends OAuthClientRegistrationWrapper,D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> Interacts with theOAuthClientRegistrationRepository
to read domain objects and map them to the projectionOAuthClientRegistrationWrapper
OAuthClientRegistrationUtils A non-static wrapper aroundClientRegistrations
used to make testing easier.