# sendVerificationEmail
fun sendVerificationEmail(userId: String, resultHandler: ResultHandler<VerificationResponse, VerificationException>)
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 with the VerificationResponse. - If an error occurs, the result is MIRACLError with a message. On exception, the exception object is also passed. |
fun sendVerificationEmail(userId: String, authenticationSessionDetails: AuthenticationSessionDetails, resultHandler: ResultHandler<VerificationResponse, VerificationException>)
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. |
authenticationSessionDetails | details for authentication session. |
resultHandler | a callback to handle the result of the verification. - If successful, the result is MIRACLSuccess with the VerificationResponse. - If an error occurs, the result is MIRACLError with a message. On exception, the exception object is also passed. |