Skip to content

Commit

Permalink
Merge branch 'feat/mfa' into mfa-multitenancy
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Oct 17, 2023
2 parents 11d5483 + 43c93f2 commit b3bd02c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 54 deletions.
10 changes: 0 additions & 10 deletions src/main/java/io/supertokens/pluginInterface/mfa/MfaStorage.java

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import io.supertokens.pluginInterface.dashboard.sqlStorage.DashboardSQLStorage;
import io.supertokens.pluginInterface.emailpassword.sqlStorage.EmailPasswordSQLStorage;
import io.supertokens.pluginInterface.emailverification.sqlStorage.EmailVerificationSQLStorage;
import io.supertokens.pluginInterface.mfa.sqlStorage.MfaSQLStorage;
import io.supertokens.pluginInterface.passwordless.sqlStorage.PasswordlessSQLStorage;
import io.supertokens.pluginInterface.session.SessionStorage;
import io.supertokens.pluginInterface.thirdparty.sqlStorage.ThirdPartySQLStorage;
Expand Down Expand Up @@ -153,14 +152,6 @@ public TOTPSQLStorage getTOTPStorage() {
return (TOTPSQLStorage) this.storage;
}

public MfaSQLStorage getMfaStorage() {
if (this.storage.getType() != STORAGE_TYPE.SQL) {
// we only support SQL for now
throw new UnsupportedOperationException("");
}
return (MfaSQLStorage) this.storage;
}

public ActiveUsersSQLStorage getActiveUsersStorage() {
if (this.storage.getType() != STORAGE_TYPE.SQL) {
// we only support SQL for now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import io.supertokens.pluginInterface.session.SessionStorage;
import io.supertokens.pluginInterface.thirdparty.sqlStorage.ThirdPartySQLStorage;
import io.supertokens.pluginInterface.totp.sqlStorage.TOTPSQLStorage;
import io.supertokens.pluginInterface.mfa.MfaStorage;
import io.supertokens.pluginInterface.useridmapping.UserIdMappingStorage;
import io.supertokens.pluginInterface.userroles.sqlStorage.UserRolesSQLStorage;

Expand Down Expand Up @@ -124,14 +123,6 @@ public TOTPSQLStorage getTOTPStorage() {
return (TOTPSQLStorage) this.storage;
}

public MfaStorage getMfaStorage() {
if (this.storage.getType() != STORAGE_TYPE.SQL) {
// we only support SQL for now
throw new UnsupportedOperationException("");
}
return (MfaStorage) this.storage;
}

public MultitenancyStorage getMultitenancyStorageWithTargetStorage() {
if (this.storage.getType() != STORAGE_TYPE.SQL) {
// we only support SQL for now
Expand Down

0 comments on commit b3bd02c

Please sign in to comment.