sportnco / token-manager-bundle
Symfony TokenManagerBundle
Installs: 1 317
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.9
- lcobucci/jwt: ^3.1
- symfony/framework-bundle: ~2.3|~3.0
This package is not auto-updated.
Last update: 2018-01-09 13:30:16 UTC
README
* Step 1 : Install bundle on your project
composer require sportnco/token-manager-bundle
* Step 2 : (Add parameters.yml)
path_public_key_param: "%kernel.root_dir%/../var/public.pem"
url_request_token_param: '[BASE_URL]/Auth/web/app_dev.php/api/request/token'
(make sure you got your public.pem file
* Step 3 : (Get access token by Token Manager)
//Get automaticly accessToken for exemple
[BASE_URL]/Auth/web/app_dev.php/api/request/token?requestToken=ae85be1fa8a84ddabc786281d69c0c79