Comments (1)
这个是 生成jwt token需要用的东西,可以看 vendor/tymon/jwt-auth/src/Contracts/JWTSubject.php
看注释,getJWTIdentifier 是唯一标识,getJWTCustomClaims是一些自定义的参数,一般可能用不到。
我也没仔细研究过jwt,大概应该是这个意思
from lumen-api-demo.
Related Issues (20)
- Using Session inside Lumen HOT 2
- 请问能使用模糊查询吗 HOT 5
- put接收不到数据 HOT 2
- wrong assignment in base repo HOT 2
- http://lumen.com/api/users HOT 3
- need authentication的情况下,发送带有token的header,会返回The Response content must be a string or object implementing __toString(), \"boolean\" given. HOT 4
- 请教一个在lumen+dingo+jwt+laravel_wechat的环境下的问题 HOT 17
- 想请教一下使用JWT的时候token这部分怎么自己定义呢? HOT 4
- 请教一个关于dingo api的问题 HOT 8
- 接口是使用policy ,报错 “This action is unauthorized” HOT 2
- laravel 路由模型绑定不能在dingo中生效? HOT 1
- meta HOT 9
- cors功能貌似有问题 HOT 1
- 有个地方有点问题 HOT 1
- 有没有对应的后台admin HOT 1
- 数据库无法连接?
- 请问,如果我想在transformer层控制权限怎么整呢?
- transformer是否适用于关联查询
- Auth driver [jwt] for guard [api] is not defined. HOT 1
- please man remove the link found in the repo description
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 lumen-api-demo.