flint/antenna
最新稳定版本:1.2.0
Composer 安装命令:
composer require flint/antenna
包简介
Authenticate Users through Symfony Security using JSON Web Tokens
README 文档
README
Antenna is a small library that helps integrating JWT (JSON Web Token) for projects using the Symfony Security Component.
In order to use this library you need to set up two authenticators in your firewall.
The first is UsernamePasswordAuthenticator which uses the security flow to authenticate through and
then "hijack" the request by rendering a body with a token { "token" : "json web token here" }.
The second uses the Authorization: Bearer <json web token> header style to authenticate your
users by validating the JWT.
If you use Symfony Full Stack there is a AntennaBundle which provides a simple integration.
Also look in the bundle if you want to know how to integrate with other libraries that use Symfony Security.
统计信息
- 总下载量: 573
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-30