Interface EmailIdentifierProvider
- All Known Implementing Classes:
EmailIdentifierProviderImpl
public interface EmailIdentifierProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetValidEmail(CrowdUserDetails crowdUserDetails, Application application)
-
Method Details
-
getValidEmail
@Nullable String getValidEmail(CrowdUserDetails crowdUserDetails, @Nullable Application application) - Parameters:
crowdUserDetails- details of Crowd userapplication- application in context of which email address should be validated- Returns:
- valid email address of user
- Throws:
InvalidEmailAddressFormatException- when email address format is invalidDuplicatedEmailAddressException- when email address is duplicated within provided application
-