Example #1
0
 private static Query<User> getAuthUserFind(final AuthUserIdentity identity) {
   return MorphiaObject.datastore
       .createQuery((User.class))
       .filter("active =", true)
       .filter("linkedAccounts.providerUserId", identity.getId())
       .filter("linkedAccounts.providerKey", identity.getProvider());
 }
Example #2
0
 private static ExpressionList<User> getAuthUserFind(final AuthUserIdentity identity) {
   return find.where().eq("active", true).eq("password", identity.getId());
 }
Example #3
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());
 }