Skip to content

Commit

Permalink
feat: remove unused functions and add new exception
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Oct 26, 2024
1 parent 082c446 commit f77d789
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ public void addOAuthLogoutChallenge(AppIdentifier appIdentifier, String challeng

public void deleteOAuthLogoutChallengesBefore(long time) throws StorageQueryException;

public void createOrUpdateOAuthSession(AppIdentifier appIdentifier, String gid, String clientId, String externalRefreshToken, String internalRefreshToken, String sessionHandle, List<String> jtis, long exp) throws StorageQueryException;
public void createOrUpdateOAuthSession(AppIdentifier appIdentifier, String gid, String clientId, String externalRefreshToken, String internalRefreshToken, String sessionHandle, List<String> jtis, long exp) throws StorageQueryException, OAuthClientNotFoundException;

public String getRefreshTokenMapping(AppIdentifier appIdentifier, String externalRefreshToken) throws StorageQueryException;

public void deleteRefreshTokenMapping(AppIdentifier appIdentifier, String externalRefreshToken) throws StorageQueryException;

public void deleteExpiredOAuthSessions(long exp) throws StorageQueryException;

public int countTotalNumberOfOAuthClients(AppIdentifier appIdentifier) throws StorageQueryException;
Expand All @@ -75,10 +73,6 @@ public void addOAuthLogoutChallenge(AppIdentifier appIdentifier, String challeng

public boolean isOAuthTokenRevokedByGID(AppIdentifier appIdentifier, String gid) throws StorageQueryException;

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

public boolean isOAuthTokenRevokedBySessionHandle(AppIdentifier appIdentifier, String sessionHandle) throws StorageQueryException;

public boolean isOAuthTokenRevokedByJTI(AppIdentifier appIdentifier, String gid, String jti) throws StorageQueryException;
}

0 comments on commit f77d789

Please sign in to comment.