setPINWithPassword

fun setPINWithPassword(pin: String, password: String, completion: (Completion<Boolean>) -> Unit)

Sets or updates the user's PIN using the account password.

Parameters

pin

The PIN to be set.

password

The account password that additionally needs to be provided to successfully set or update the PIN.

completion

The block to be called when the request is completed including either the information if the PIN has been set / updated successfully or a Throwable.