Skip to content

feat(session): list a user's sessions and revoke all but one - #156

Merged
zumbrunn merged 2 commits into
mainfrom
feat/session-list-revoke-others
Nov 12, 2026
Merged

zumbrunn merged 2 commits into
mainfrom
feat/session-list-revoke-others

Conversation

@zumbrunn

Copy link
Copy Markdown
Member

Part of #155. Core half: SessionStore.listByUserId (local, KV, Redis), SessionManager.listForUser (live only, newest first) and revokeOthers. Matches the @dune/plugin-api change in duneorg/plugin-api#6, which must be released first for plugin-admin to consume it; this PR does not depend on it to build. Also drops the stale 'one session per user on login' wording from the deleteByUserId doc.

Custom SessionStore implementations must add listByUserId (noted in the CHANGELOG).

🤖 Generated with Claude Code

Part of #155

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Keeps both [Unreleased] entries (#153 fix, #155 addition).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn
zumbrunn merged commit 00e8e16 into main Nov 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant