org.wso2.carbon.email.verification.services
Class EmailVerificationService

java.lang.Object
  extended by 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
EmailVerificationService()
           
 
Method Summary
static ConfirmationBean confirmUser(String secretKey)
          Confirms the link that user clicks is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailVerificationService

public EmailVerificationService()
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, - if the link is expired or invalid
Exception


Copyright © 2015 WSO2. All rights reserved.