Ilumnis Authentication

StandardValidator.ValidateBirthday Method 

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

public DateTime ValidateBirthday(
   DateTime birthday,
   string message
);

Parameters

birthday
Birthday to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated birthday.

Implements

IAuthenticationValidator.ValidateBirthday

Exceptions

Exception Type Condition
InvalidBirthdayException Thrown when invalid birthday is passed.

See Also

StandardValidator Class | IExSys.Authentication.Validation Namespace