Ilumnis Authentication

StandardValidator.ValidatePassword Method 

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

public 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.

Implements

IAuthenticationValidator.ValidatePassword

Exceptions

Exception Type Condition
InvalidPasswordException Thrown when invalid password is passed.

See Also

StandardValidator Class | IExSys.Authentication.Validation Namespace