diff --git a/src/main/java/io/supertokens/pluginInterface/mfa/MfaStorage.java b/src/main/java/io/supertokens/pluginInterface/mfa/MfaStorage.java index 77a3184c..adf5b2b6 100644 --- a/src/main/java/io/supertokens/pluginInterface/mfa/MfaStorage.java +++ b/src/main/java/io/supertokens/pluginInterface/mfa/MfaStorage.java @@ -7,15 +7,4 @@ import io.supertokens.pluginInterface.sqlStorage.TransactionConnection; public interface MfaStorage extends NonAuthRecipeStorage { - // Enable (insert) a factor for a user and return true if it actually inserted something. - boolean enableFactor(TenantIdentifier tenantIdentifier, String userId, String factorId) throws StorageQueryException; - - // List all the factors for a user: - String[] listFactors(TenantIdentifier tenantIdentifier, String userId) throws StorageQueryException; - - // Disable (delete) a factor for a user and return true if it actually deleted something. - boolean disableFactor(TenantIdentifier tenantIdentifier, String userId, String factorId) throws StorageQueryException; - - // Delete a user from a tenant (with all the relevant factors) - boolean deleteMfaInfoForUser(TenantIdentifier tenantIdentifier, String userId) throws StorageQueryException; } diff --git a/src/main/java/io/supertokens/pluginInterface/mfa/sqlStorage/MfaSQLStorage.java b/src/main/java/io/supertokens/pluginInterface/mfa/sqlStorage/MfaSQLStorage.java index 087ee133..0980fcb1 100644 --- a/src/main/java/io/supertokens/pluginInterface/mfa/sqlStorage/MfaSQLStorage.java +++ b/src/main/java/io/supertokens/pluginInterface/mfa/sqlStorage/MfaSQLStorage.java @@ -23,7 +23,4 @@ import io.supertokens.pluginInterface.sqlStorage.TransactionConnection; public interface MfaSQLStorage extends MfaStorage, SQLStorage { - // Delete a user across all tenants (with all the relevant factors) - boolean deleteMfaInfoForUser_Transaction(TransactionConnection con, AppIdentifier appIdentifier, String userId) throws - StorageQueryException; }