Skip to content

Commit

Permalink
fix: refactor, review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamassoltesz committed Oct 26, 2024
1 parent 082c446 commit cea5b30
Showing 1 changed file with 3 additions and 9 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 @@ -73,12 +71,8 @@ public void addOAuthLogoutChallenge(AppIdentifier appIdentifier, String challeng

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

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;

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

0 comments on commit cea5b30

Please sign in to comment.