aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-12-25 12:55:10 +0300
committerGravatar Vitaly Takmazov2017-12-25 12:55:10 +0300
commite3a9e8a42bf980751db5f75c63ef9e17ab1ea8dc (patch)
tree3e7106a4883907368e60bd6372e809c27606afc4 /juick-server-core/src/main/java/com
parentd767b84a27b6864897bbfbd8c9250550975c5d45 (diff)
add email from facebook
Diffstat (limited to 'juick-server-core/src/main/java/com')
-rw-r--r--juick-server-core/src/main/java/com/juick/service/EmailService.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-server-core/src/main/java/com/juick/service/EmailService.java b/juick-server-core/src/main/java/com/juick/service/EmailService.java
index 369434e7..ac63f4da 100644
--- a/juick-server-core/src/main/java/com/juick/service/EmailService.java
+++ b/juick-server-core/src/main/java/com/juick/service/EmailService.java
@@ -25,7 +25,8 @@ import java.util.List;
public interface EmailService {
boolean verifyAddressByCode(Integer userId, String code);
boolean addVerificationCode(Integer userId, String account, String code);
+ boolean addEmail(Integer userId, String email);
boolean deleteEmail(Integer userId, String account);
boolean setNotificationsEmail(Integer userId, String account);
- List<String> getEmails(Integer userId);
+ List<String> getEmails(Integer userId, boolean active);
}