Class ChangeEmailController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.email.ChangeEmailController
-
Constructor Summary
ConstructorDescriptionChangeEmailController
(EmailChangeManager emailChangeManager, AuthenticatedUserProvider authenticatedUserProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
void
confirmEmailChange
(String token) void
void
startEmailValidation
(EmailValidationRequestEntity emailValidationRequestEntity)
-
Constructor Details
-
ChangeEmailController
public ChangeEmailController(EmailChangeManager emailChangeManager, AuthenticatedUserProvider authenticatedUserProvider)
-
-
Method Details
-
startEmailValidation
public void startEmailValidation(EmailValidationRequestEntity emailValidationRequestEntity) throws InvalidAuthenticationException, InvalidEmailAddressException, MailSendException, OperationNotPermittedException, ApplicationNotFoundException, SameEmailAddressException -
confirmEmailChange
public void confirmEmailChange(String token) throws InvalidChangeEmailTokenException, InvalidAuthenticationException, UserNotFoundException, OperationFailedException, ApplicationNotFoundException, OperationNotPermittedException -
resendValidationToken
public void resendValidationToken() throws InvalidEmailAddressException, MailSendException, UserNotFoundException, ApplicationNotFoundException -
abort
public void abort()
-