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