Skip to content

Commit

Permalink
fix: account linking stats (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc authored Sep 7, 2023
1 parent f42eddc commit 5578d7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ public interface ActiveUsersStorage extends NonAuthRecipeStorage {

void deleteUserActive_Transaction(TransactionConnection con, AppIdentifier appIdentifier, String userId)
throws StorageQueryException;

int countUsersThatHaveMoreThanOneLoginMethodAndActiveSince(AppIdentifier appIdentifier, long sinceTime) throws StorageQueryException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@ AuthRecipeUserInfo[] listPrimaryUsersByThirdPartyInfo(AppIdentifier appIdentifie

AuthRecipeUserInfo getPrimaryUserByThirdPartyInfo(TenantIdentifier tenantIdentifier, String thirdPartyId,
String thirdPartyUserId) throws StorageQueryException;

boolean checkIfUsesAccountLinking(AppIdentifier appIdentifier) throws StorageQueryException;

int getUsersCountWithMoreThanOneLoginMethod(AppIdentifier appIdentifier) throws StorageQueryException;
}

0 comments on commit 5578d7e

Please sign in to comment.