From 1c02bec11fbafec2e47a52b460f4df03ce9b2bcc Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Thu, 18 Apr 2024 17:25:17 +0530 Subject: [PATCH] fix: revert --- .../session/refreshToken/RefreshTokenKey.java | 3 --- .../supertokens/signingkeys/AccessTokenSigningKey.java | 9 +++++---- .../java/io/supertokens/signingkeys/JWTSigningKey.java | 4 ---- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/main/java/io/supertokens/session/refreshToken/RefreshTokenKey.java b/src/main/java/io/supertokens/session/refreshToken/RefreshTokenKey.java index 98ddcd938..fb4fcc53f 100644 --- a/src/main/java/io/supertokens/session/refreshToken/RefreshTokenKey.java +++ b/src/main/java/io/supertokens/session/refreshToken/RefreshTokenKey.java @@ -23,13 +23,10 @@ import io.supertokens.pluginInterface.KeyValueInfo; import io.supertokens.pluginInterface.KeyValueInfoWithLastUpdated; import io.supertokens.pluginInterface.STORAGE_TYPE; -import io.supertokens.pluginInterface.StorageUtils; import io.supertokens.pluginInterface.exceptions.StorageQueryException; import io.supertokens.pluginInterface.exceptions.StorageTransactionLogicException; import io.supertokens.pluginInterface.multitenancy.AppIdentifier; -import io.supertokens.pluginInterface.multitenancy.MultitenancyStorage; import io.supertokens.pluginInterface.multitenancy.TenantIdentifier; -import io.supertokens.pluginInterface.multitenancy.exceptions.DuplicateTenantException; import io.supertokens.pluginInterface.multitenancy.exceptions.TenantOrAppNotFoundException; import io.supertokens.pluginInterface.session.SessionStorage; import io.supertokens.pluginInterface.session.noSqlStorage.SessionNoSQLStorage_1; diff --git a/src/main/java/io/supertokens/signingkeys/AccessTokenSigningKey.java b/src/main/java/io/supertokens/signingkeys/AccessTokenSigningKey.java index 268edb145..5fa5496d2 100644 --- a/src/main/java/io/supertokens/signingkeys/AccessTokenSigningKey.java +++ b/src/main/java/io/supertokens/signingkeys/AccessTokenSigningKey.java @@ -22,7 +22,10 @@ import io.supertokens.config.CoreConfig; import io.supertokens.exceptions.QuitProgramException; import io.supertokens.output.Logging; -import io.supertokens.pluginInterface.*; +import io.supertokens.pluginInterface.KeyValueInfo; +import io.supertokens.pluginInterface.KeyValueInfoWithLastUpdated; +import io.supertokens.pluginInterface.STORAGE_TYPE; +import io.supertokens.pluginInterface.Storage; import io.supertokens.pluginInterface.exceptions.StorageQueryException; import io.supertokens.pluginInterface.exceptions.StorageTransactionLogicException; import io.supertokens.pluginInterface.jwt.JWTAsymmetricSigningKeyInfo; @@ -31,9 +34,7 @@ import io.supertokens.pluginInterface.jwt.nosqlstorage.JWTRecipeNoSQLStorage_1; import io.supertokens.pluginInterface.jwt.sqlstorage.JWTRecipeSQLStorage; import io.supertokens.pluginInterface.multitenancy.AppIdentifier; -import io.supertokens.pluginInterface.multitenancy.MultitenancyStorage; import io.supertokens.pluginInterface.multitenancy.TenantIdentifier; -import io.supertokens.pluginInterface.multitenancy.exceptions.DuplicateTenantException; import io.supertokens.pluginInterface.multitenancy.exceptions.TenantOrAppNotFoundException; import io.supertokens.pluginInterface.session.SessionStorage; import io.supertokens.pluginInterface.session.noSqlStorage.SessionNoSQLStorage_1; @@ -114,7 +115,7 @@ public static void loadForAllTenants(Main main, List apps, List