Ilumnis Authentication

IAuthenticationValidator.ValidateDomainName Method 

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

string ValidateDomainName(
   string domainName,
   string message
);

Parameters

domainName
Domain name to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated domain name.

Exceptions

Exception Type Condition
InvalidDomainNameException Thrown when invalid domainName is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace