diff --git a/src/main/java/io/supertokens/pluginInterface/oauth/OAuthLogoutChallenge.java b/src/main/java/io/supertokens/pluginInterface/oauth/OAuthLogoutChallenge.java index 1bed85ab..ca453367 100644 --- a/src/main/java/io/supertokens/pluginInterface/oauth/OAuthLogoutChallenge.java +++ b/src/main/java/io/supertokens/pluginInterface/oauth/OAuthLogoutChallenge.java @@ -4,15 +4,15 @@ public class OAuthLogoutChallenge { public final String challenge; public final String clientId; public final String postLogoutRedirectionUri; - public final String gid; + public final String sessionHandle; public final String state; public final long timeCreated; - public OAuthLogoutChallenge(String challenge, String clientId, String postLogoutRedirectionUri, String gid, String state, long timeCreated) { + public OAuthLogoutChallenge(String challenge, String clientId, String postLogoutRedirectionUri, String sessionHandle, String state, long timeCreated) { this.challenge = challenge; this.clientId = clientId; this.postLogoutRedirectionUri = postLogoutRedirectionUri; - this.gid = gid; + this.sessionHandle = sessionHandle; this.state = state; this.timeCreated = timeCreated; } diff --git a/src/main/java/io/supertokens/pluginInterface/oauth/OAuthStorage.java b/src/main/java/io/supertokens/pluginInterface/oauth/OAuthStorage.java index a840034f..941eca86 100644 --- a/src/main/java/io/supertokens/pluginInterface/oauth/OAuthStorage.java +++ b/src/main/java/io/supertokens/pluginInterface/oauth/OAuthStorage.java @@ -49,7 +49,7 @@ public boolean doesClientIdExistForApp(AppIdentifier appIdentifier, String clien public void cleanUpExpiredAndRevokedTokens(AppIdentifier appIdentifier) throws StorageQueryException; - public void addLogoutChallenge(AppIdentifier appIdentifier, String challenge, String clientId, String postLogoutRedirectionUri, String state, long timeCreated) throws StorageQueryException; + public void addLogoutChallenge(AppIdentifier appIdentifier, String challenge, String clientId, String postLogoutRedirectionUri, String sessionHandle, String state, long timeCreated) throws StorageQueryException; public OAuthLogoutChallenge getLogoutChallenge(AppIdentifier appIdentifier, String challenge) throws StorageQueryException;