Modifier and Type | Method and Description |
---|---|
ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> |
OAuthClientAutoConfiguration.clientRegistrationPropertiesService(org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties oAuth2ClientProperties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.oauth2.client.registration.ClientRegistrationRepository |
OAuthClientAutoConfiguration.clientRegistrationRepository(OAuthClientRegistrationPersistenceService<OAuthClientRegistrationWrapper> oAuthClientRegistrationPersistenceService,
ContextHelperService contextHelperService,
ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> clientRegistrationPropertiesService) |
org.springframework.security.oauth2.client.registration.ClientRegistrationRepository |
OAuthClientAutoConfiguration.clientRegistrationRepository(OAuthClientRegistrationPersistenceService<OAuthClientRegistrationWrapper> oAuthClientRegistrationPersistenceService,
ContextHelperService contextHelperService,
ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> clientRegistrationPropertiesService) |
Modifier and Type | Method and Description |
---|---|
<D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> |
OAuthClientPersistenceAutoConfiguration.oAuthClientRegistrationPersistenceService(OAuthClientRegistrationRepository<D> oAuthClientRegistrationRepository,
SimplePayloadMapper mapper,
OAuthClientRegistrationWrapperEntityValidator validator,
ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> clientRegistrationPropertiesService,
OAuthClientRegistrationUtils oAuthClientRegistrationUtils) |
Modifier and Type | Method and Description |
---|---|
<D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> |
OAuthClientPersistenceAutoConfiguration.oAuthClientRegistrationPersistenceService(OAuthClientRegistrationRepository<D> oAuthClientRegistrationRepository,
SimplePayloadMapper mapper,
OAuthClientRegistrationWrapperEntityValidator validator,
ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> clientRegistrationPropertiesService,
OAuthClientRegistrationUtils oAuthClientRegistrationUtils) |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientRegistrationPropertiesService<P extends OAuthClientRegistrationWrapper>
This service is intended to provide
OAuthClientRegistrationWrapper objects built from
OAuth2ClientProperties defined through application properties. |
class |
DefaultClientRegistrationPropertiesService<P extends OAuthClientRegistrationWrapper>
This service provides
OAuthClientRegistrationWrapper objects built from
OAuth2ClientProperties defined through application properties. |
Modifier and Type | Method and Description |
---|---|
protected OAuthClientRegistrationWrapper |
DefaultBroadleafClientRegistrationRepository.loadFromProperties(String registrationId,
String tenantId) |
Modifier and Type | Method and Description |
---|---|
Map<String,OAuthClientRegistrationWrapper> |
BroadleafClientRegistrationRepository.findAllClientRegistrations()
Return a Map of all available 3rd party OAuth providers.
|
Map<String,OAuthClientRegistrationWrapper> |
DefaultBroadleafClientRegistrationRepository.findAllClientRegistrations()
Return a Map of all available 3rd party OAuth providers.
|
protected ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> |
DefaultBroadleafClientRegistrationRepository.getClientRegistrationPropertiesService() |
protected OAuthClientRegistrationPersistenceService<OAuthClientRegistrationWrapper> |
DefaultBroadleafClientRegistrationRepository.getClientRegistrationService() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.oauth2.client.registration.ClientRegistration |
DefaultBroadleafClientRegistrationRepository.buildClientRegistration(OAuthClientRegistrationWrapper wrapper)
Converts an
OAuthClientRegistrationWrapper to a ClientRegistration . |
Constructor and Description |
---|
DefaultBroadleafClientRegistrationRepository(OAuthClientRegistrationPersistenceService<OAuthClientRegistrationWrapper> clientRegistrationService,
ContextHelperService contextHelperService,
ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> clientRegistrationPropertiesService) |
DefaultBroadleafClientRegistrationRepository(OAuthClientRegistrationPersistenceService<OAuthClientRegistrationWrapper> clientRegistrationService,
ContextHelperService contextHelperService,
ClientRegistrationPropertiesService<OAuthClientRegistrationWrapper> clientRegistrationPropertiesService) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultOAuthClientRegistrationPersistenceService<P extends OAuthClientRegistrationWrapper,D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable>
Interacts with the
OAuthClientRegistrationRepository to read domain objects and map them
to the projection OAuthClientRegistrationWrapper |
interface |
OAuthClientRegistrationPersistenceService<P extends OAuthClientRegistrationWrapper>
Service responsible for CRUD operations related to
OAuthClientRegistrationWrapper . |
Modifier and Type | Method and Description |
---|---|
OAuthClientRegistrationWrapper |
OAuthClientRegistrationEndpoint.createClientRegistration(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
OAuthClientRegistrationWrapper payload) |
protected OAuthClientRegistrationWrapper |
OAuthClientRegistrationEndpoint.hideSecret(OAuthClientRegistrationWrapper wrapper) |
OAuthClientRegistrationWrapper |
OAuthClientRegistrationEndpoint.readClientRegistrationById(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
String id) |
OAuthClientRegistrationWrapper |
OAuthClientRegistrationEndpoint.replaceClientRegistration(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
String id,
OAuthClientRegistrationWrapper payload) |
Modifier and Type | Method and Description |
---|---|
protected OAuthClientRegistrationPersistenceService<OAuthClientRegistrationWrapper> |
OAuthClientRegistrationEndpoint.getService() |
protected Optional<OAuthClientRegistrationWrapper> |
OAuthClientRegistrationEndpoint.hideSecret(Optional<OAuthClientRegistrationWrapper> wrapperOptional) |
protected org.springframework.data.domain.Page<OAuthClientRegistrationWrapper> |
OAuthClientRegistrationEndpoint.hideSecret(org.springframework.data.domain.Page<OAuthClientRegistrationWrapper> page) |
org.springframework.data.domain.Page<OAuthClientRegistrationWrapper> |
OAuthClientRegistrationEndpoint.readAllClientRegistrations(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
org.springframework.data.domain.Pageable pageable) |
Modifier and Type | Method and Description |
---|---|
OAuthClientRegistrationWrapper |
OAuthClientRegistrationEndpoint.createClientRegistration(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
OAuthClientRegistrationWrapper payload) |
protected OAuthClientRegistrationWrapper |
OAuthClientRegistrationEndpoint.hideSecret(OAuthClientRegistrationWrapper wrapper) |
OAuthClientRegistrationWrapper |
OAuthClientRegistrationEndpoint.replaceClientRegistration(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
String id,
OAuthClientRegistrationWrapper payload) |
Modifier and Type | Method and Description |
---|---|
protected Optional<OAuthClientRegistrationWrapper> |
OAuthClientRegistrationEndpoint.hideSecret(Optional<OAuthClientRegistrationWrapper> wrapperOptional) |
protected org.springframework.data.domain.Page<OAuthClientRegistrationWrapper> |
OAuthClientRegistrationEndpoint.hideSecret(org.springframework.data.domain.Page<OAuthClientRegistrationWrapper> page) |
Constructor and Description |
---|
OAuthClientRegistrationEndpoint(OAuthClientRegistrationPersistenceService<OAuthClientRegistrationWrapper> service) |
Copyright © 2021. All rights reserved.