library jwt-guard
Guard JWT Authenticator for Symfony
cosmonova-rnd/jwt-guard
Guard JWT Authenticator for Symfony
- Thursday, May 17, 2018
- by Besedin86
- Repository
- 1 Watchers
- 0 Stars
- 117 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 244 % Grown
Symfony Guard JWT Authenticator
Installing
- Install package using composer
composer require cosmonova-rnd/jwt-guard, (*1)
Configuring
-
Configure environment variables JWT_PUBLIC_KEY and JWT_PASSPHRASE with public key and passphrase, (*2)
-
Add to your firewall new authenticator, (*3)
example:, (*4)
security:
main:
anonymous: ~
guard:
authenticators:
- CosmonovaRnD\JWTGuard\Security\JwtAuthenticator
Usage
Use symfony UserInterface to get authenticated user, (*5)
@ Cosmonova | Research & Development, (*6)
dev-master
9999999-dev
Guard JWT Authenticator for Symfony
Sources
Download
MIT
The Requires
by
Aleksandr Besedin
1.1.0
1.1.0.0
Guard JWT Authenticator for Symfony
Sources
Download
MIT
The Requires
by
Aleksandr Besedin
1.0.0
1.0.0.0
Guard JWT Authenticator for Symfony
Sources
Download
MIT
The Requires
by
Aleksandr Besedin