Validates userName and adds custom message to exception, if one is thrown.
Validated user name.
Exception Type | Condition |
---|---|
InvalidUserNameException | Thrown when invalid userName is passed. |
IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace