Skip to content

cookie logout#95

Merged
noxecane merged 2 commits intomasterfrom
feat/cookie-logout
Jul 1, 2025
Merged

cookie logout#95
noxecane merged 2 commits intomasterfrom
feat/cookie-logout

Conversation

@noxecane
Copy link
Owner

@noxecane noxecane commented Jul 1, 2025

No description provided.

noxecane and others added 2 commits July 1, 2025 01:36
- Replace interface{} with any for Go 1.18+ compatibility
- Improves code readability and follows modern Go conventions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add LogoutCookie method to revoke cookie sessions and clear client cookies
- Add LogoutBearer method to revoke bearer tokens using decommission
- Fix NewHeadlessToken to use JWT encoding instead of Redis storage
- Fix timeout mismatches in LoadCookie and LoadBearer methods
- Improve Load method with proper switch statement for cleaner error handling
- Add comprehensive tests for both logout methods with Redis cleanup
- Convert headless scheme to lowercase for consistent comparison

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@noxecane noxecane merged commit c6606aa into master Jul 1, 2025
1 check passed
@noxecane noxecane deleted the feat/cookie-logout branch July 1, 2025 00:38
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