damax/api-auth-bundle
Composer 安装命令:
composer require damax/api-auth-bundle
包简介
Authentication via api key or JWT.
README 文档
README
API key or JWT authentication for Symfony application.
Features
Api keys
- Store keys in Redis, database or right in config.
- Search in multiple storage types until found.
- Use console commands to add, remove or lookup existing keys.
- Define TTL for each key i.e. grant temporary access to your API.
- Configure the chain of key extractors from cookie, query string or header.
- Finally, implement your own ApiKeyUserProvider for custom solution.
JWT
- Symmetric signing support for quick setup i.e. SSH keys are not required.
- Add and validate all registered claims.
- Extend payload with any public or custom claim.
- Refresh token functionality.
- Customize success or error responses.
Documentation
Topics:
Contribute
Install dependencies and run tests:
$ make
统计信息
- 总下载量: 504
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-14