cosmonova-rnd/jwt-guard
Composer 安装命令:
composer require cosmonova-rnd/jwt-guard
包简介
Guard JWT Authenticator for Symfony
README 文档
README
Installing
- Install package using composer
composer require cosmonova-rnd/jwt-guard
Configuring
-
Configure environment variables
JWT_PUBLIC_KEYandJWT_PASSPHRASEwith public key and passphrase -
Add to your firewall new authenticator
example:
security: main: anonymous: ~ guard: authenticators: - CosmonovaRnD\JWTGuard\Security\JwtAuthenticator
Usage
Use symfony UserInterface to get authenticated user
@ Cosmonova | Research & Development
统计信息
- 总下载量: 768
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-12