Ilumnis Authentication

IAuthenticationValidator.ValidatePassword Method 

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

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

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace