pub(crate) fn validate_password( client: &Client, password: String, password_hash: String, ) -> Result<bool, Error>
Validate if the provided password matches the password hash stored in the client.