sendOneTimePassword

fun sendOneTimePassword(messageDetails: OneTimePasswordMethod.MessageDetails? = null, callback: WebcomDoneCallback)

Generates and sends a one-time password to the user, as the first step of an authentication call-flow. This operation is asynchronous and calls the given callback once performed.

The next step of the authentication call-flow (calling authenticate) cannot be run as long as callback is not called back.

The actual message sent to the user can be customized with messageDetails. If not specified, the "login" template is used.