Exemple #1
0
 private static ExpressionList<User> getAuthUserFind(final AuthUserIdentity identity) {
   return find.where()
       .eq("active", true)
       .eq("linkedAccounts.providerUserId", identity.getId())
       .eq("linkedAccounts.providerKey", identity.getProvider());
 }
Exemple #2
0
 private static ExpressionList<User> getEmailUserFind(final String email) {
   return find.where().eq("active", true).eq("email", email);
 }