sendVerificationEmail

# sendVerificationEmail


fun sendVerificationEmail(userId: String, resultHandler: ResultHandler<Unit, MIRACLException>)

Default method to verify user identity against the MIRACL platform. In the current implementation it is done by sending an email message.

# Parameters

userId identifier of the user identity. To verify identity this identifier needs to be valid email address.
resultHandler a callback to handle the result of the verification.
  • If successful, the result is MIRACLSuccess.
  • If an error occurs, the result is MIRACLError with a message. On exception, the exception object is also passed.