1 package net.avcompris.commons3.core; 2 3 import net.avcompris.commons3.api.exception.ServiceException; 4 5 public interface ForgotPasswordService { 6 7 /** 8 * Send the token via email 9 */ 10 void forgotPassword(String correlationId, String uiUrl, String emailAddress) throws ServiceException; 11 12 void resetPassword(String correlationId, String token, String password) throws ServiceException; 13 }