verify

# verify

Brief description

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

# Parameters

Name Summary
accessId

a session identifier used to get information from web session.

deviceName

provides a device name. Defaults to the model of the device.

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.


userId

identifier of the user identity. To verify identity this identifier needs to be valid email address.

Content
@JvmOverloads()

fun verify(userId: String, accessId: String, resultHandler: ResultHandler<Unit, Error>, deviceName: String)