de.adorsys.ledgers.middleware.api.service.EmailVerificationService Maven / Gradle / Ivy
package de.adorsys.ledgers.middleware.api.service;
public interface EmailVerificationService {
/**
* Create a verification token for email
*
* @param email Sca email
* @return a token
*/
String createVerificationToken(String email);
/**
* Send email with link for email confirmation
*
* @param token verification token
*/
void sendVerificationEmail(String token);
/**
* Confirm email
*
* @param token verification token
*/
void confirmUser(String token);
}