public interface SignupSettingsService
Modifier and Type | Method and Description |
---|---|
List<String> |
getRestrictedDomains()
Returns list of domains.
|
boolean |
isEmailAllowed(String email)
Checks if the given email address is allowed to sign up.
|
boolean |
isEmailSentOnSignUp() |
boolean |
isSignupEnabled() |
void |
setEmailSentOnSignUp(boolean notify) |
void |
setRestrictedDomains(List<String> allowedDomains)
Set the domains that user's email address should belong to to be able to sign up.
|
void |
setSignupEnabled(boolean enabled) |
boolean isEmailSentOnSignUp()
void setEmailSentOnSignUp(boolean notify)
notify
- true if notification emails should be sent to admins when a user signs themselves up, false if notvoid setSignupEnabled(boolean enabled)
enabled
- true if users can sign themselves upboolean isSignupEnabled()
void setRestrictedDomains(List<String> allowedDomains)
allowedDomains
- list of domainsList<String> getRestrictedDomains()
boolean isEmailAllowed(String email)
email
- the email address, which must be valid (a string containing one "@").Copyright © 2020 Atlassian. All rights reserved.