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