Examer Credentials Validation Use Case
A concrete implementation of CredentialsValidationUseCase.
Constructors
Functions
Link copied to clipboard
The method is used to check whether the email is valid. An email is valid if, and only if, it is not blank(ie. is not empty and doesn't contain whitespace characters) and matches the Patterns.EMAIL_ADDRESS regex.
Link copied to clipboard
The method is used to check whether the password is valid. A password is valid if, and only if,it is of length 8 , contains at least one uppercase and lowercase letter and contains at least one digit.