updatePassword
suspend fun User.updatePassword(params: User.UpdatePasswordParams): ClerkResult<User, ClerkErrorResponse>
Updates the current user's password, or the user with the given session ID, using the Clerk API.
Return
A ClerkResult containing the User if the operation was successful, or a ClerkErrorResponse if it failed.
See: UpdatePasswordParams for the available parameters.
Parameters
params
The parameters for updating the password.