public interface UserRegistrationService<P extends User>
Modifier and Type | Method and Description |
---|---|
P |
registerUser(UserRegistration registration)
Create and registers a new user from the given registration.
|
P |
registerUser(UserRegistration registration,
boolean isEmbedded)
Create and registers a new user from the given registration
|
P |
registerUser(UserRegistration registration,
com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Deprecated.
in favor of
registerUser(com.broadleafcommerce.auth.user.api.dto.UserRegistration, com.broadleafcommerce.data.tracking.core.context.ContextInfo) , as context is no longer a requirement |
@Deprecated P registerUser(UserRegistration registration, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
registerUser(com.broadleafcommerce.auth.user.api.dto.UserRegistration, com.broadleafcommerce.data.tracking.core.context.ContextInfo)
, as context is no longer a requirementregistration
- what the user filled out as their registrationcontext
- ignoredcom.broadleafcommerce.common.error.validation.ValidationException
- if there were any validation failuresRegistrationValidator
P registerUser(UserRegistration registration)
registration
- what the user filled out as their registrationcom.broadleafcommerce.common.error.validation.ValidationException
- if there were any validation failuresRegistrationValidator
P registerUser(UserRegistration registration, boolean isEmbedded)
registration
- what the user filled out as their registrationisEmbedded
- Whether this is a request from an embedded formcom.broadleafcommerce.common.error.validation.ValidationException
- if there were any validation failuresRegistrationValidator
Copyright © 2021. All rights reserved.