Ilumnis Authentication

AuthenticationValidator.ValidatePassword Method (String, String)

Validates password and adds custom message to exception, if one is thrown.

public static string ValidatePassword(
   string password,
   string message
);

Parameters

password
Password to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated password.

Exceptions

Exception Type Condition
InvalidPasswordException Thrown when invalid password is passed.

See Also

AuthenticationValidator Class | IExSys.Authentication.Validation Namespace | AuthenticationValidator.ValidatePassword Overload List