sendPasswordResetCode

fun sendPasswordResetCode(messageDetails: AuthenticationMethod.Internal.MessageDetails? = null, callback: WebcomDoneCallback? = null)

Sends a code to the user, which makes it possible to reset her·his personal password. This operation is asynchronous and calls the given callback once performed.

For security reasons, reset codes are always sent by email.

Specific messageDetails can be set to send a specific message template to the user. By default, the "password-reset" template is used.