Class EmailVerificationService
- java.lang.Object
-
- org.wso2.carbon.email.verification.services.EmailVerificationService
-
public class EmailVerificationService extends Object
The service that is responsible for the email verification functionality of carbon.
-
-
Constructor Summary
Constructors Constructor Description EmailVerificationService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfirmationBeanconfirmUser(String secretKey)Confirms the link that user clicks is valid.
-
-
-
Method Detail
-
confirmUser
public static ConfirmationBean confirmUser(String secretKey) throws Exception
Confirms the link that user clicks is valid.- Parameters:
secretKey- , the secretKey that is sent as a link in the email.- Returns:
- ConfirmationBean, if the link is valid.
- Throws:
Exception
-
-