liangjfblue / doublejwt Goto Github PK
View Code? Open in Web Editor NEWapp Password-free login by use double token. one short time and another is long time. use long time token to refresh expire time short token
app Password-free login by use double token. one short time and another is long time. use long time token to refresh expire time short token
如果refreshToken和token按照一样的逻辑生成(jwt),那么完全可用refreshToken代替token进行资源请求吧,这样不就没有意义了吗?感觉结合用户的唯一标识和设备信息用加密算法生成refreshToken然后放到redis设置有效期(较长一点)会不会是一种可行的方案?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.