Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nobletsolutions/tokenbundle
JWT token bundle integration with symfony
https://github.com/nobletsolutions/tokenbundle
bundle jwt jwt-token php symfony symfony-bundle
Last synced: 4 days ago
JSON representation
JWT token bundle integration with symfony
- Host: GitHub
- URL: https://github.com/nobletsolutions/tokenbundle
- Owner: NobletSolutions
- Created: 2017-01-27T23:22:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-19T04:54:14.000Z (2 months ago)
- Last Synced: 2024-10-23T16:40:19.562Z (26 days ago)
- Topics: bundle, jwt, jwt-token, php, symfony, symfony-bundle
- Language: PHP
- Size: 85 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
Awesome Lists containing this project
README
Installation
============```yaml
composer require ns/token-bundle
```Edit AppKernel.php and add the bundle
```yaml
new NS\TokenBundle\NSTokenBundle(),
```Edit app/config/config.yml
```yaml
ns_token:
generator:
id:
key:
issuer:
short_expiration: 3600
long_expiration: 2592000
signer: Lcobucci\JWT\Signer\Rsa\Sha256 #default
```
You can use your own signer by implementing the Lcobucci\JWT\Signer interface.