Skip to content

Commit

Permalink
fix: listClientsForApp
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Sep 5, 2024
1 parent e6f111b commit 8654dd9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
import io.supertokens.pluginInterface.nonAuthRecipe.NonAuthRecipeStorage;
import io.supertokens.pluginInterface.oauth.exceptions.OAuth2ClientAlreadyExistsForAppException;

import java.util.List;

public interface OAuthStorage extends NonAuthRecipeStorage {

public boolean doesClientIdExistForThisApp(AppIdentifier appIdentifier, String clientId) throws
Expand All @@ -30,4 +32,6 @@ public void addClientForApp(AppIdentifier appIdentifier, String clientId) throws
OAuth2ClientAlreadyExistsForAppException;

public boolean removeAppClientAssociation(AppIdentifier appIdentifier, String clientId) throws StorageQueryException;

List<String> listClientsForApp(AppIdentifier appIdentifier) throws StorageQueryException;
}

0 comments on commit 8654dd9

Please sign in to comment.