Comments (2)
This definitely makes sense. If you want to instrument your app to be able to clear all sessions for an individual user that seems like the only way to do it short of building your own tooling to interact with your store.
I'll add it!
from jeff.
I went ahead and implemented this, however I would like to note that if you wish to revoke all active sessions for a single user, it's only necessary to delete their key in the store.
However, I still believe this is a useful method to have to build tooling with, despite leaking some details about how we're storing them on the backend.
from jeff.
Related Issues (12)
- Rename Package
- Comparison to github.com/alexedwards/scs HOT 3
- Evaluate using gokv as storage interface HOT 1
- Multiple sessions per key HOT 1
- sessions: Clear doesn't return potential error HOT 4
- No way to delete a single session for a given user HOT 1
- Add control of SameSite prefix
- Session Metadata HOT 1
- Can I replace authboss with yours? HOT 2
- Can you use the cookie as a storer? HOT 2
- chroot key prefix for caches
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jeff.