Skip to content

changeIdentityPasswordAsync ​

suspend fun changeIdentityPasswordAsync(userId: String, currentPassword: String, newPassword: String): String

Change the password use to encrypt the identity for the userId.

Return ​

The new SSKS ID of the stored identity.

Parameters ​

userIdThe ID of the userId.
currentPasswordThe user's current password.
newPasswordThe new password.

Throws ​

SealdException