ZMAuthentication
public interface ZMAuthentication
| Method Summary | |
|---|---|
| string | encryptPassword(string plaintext, string salt) Encrypt a given password. |
| boolean | validatePassword(string plaintext, string encrypted) Validate the given clear text password against the encrypted one. |
public string encryptPassword(string plaintext, string salt)
Encrypt a given password.
null.public boolean validatePassword(string plaintext, string encrypted)
Validate the given clear text password against the encrypted one.
true if the plain text password matches the encrypted, false if not.
Provider of authentication service.