marcoazn89 / oauth2-password-grant
There is no license information available for the latest version (v1.0.8) of this package.
Package info
github.com/marcoazn89/oauth2-password-grant
pkg:composer/marcoazn89/oauth2-password-grant
v1.0.8
2017-11-28 18:54 UTC
Requires
- lcobucci/jwt: ^3.1
- marcoazn89/booboo: ^2.0
This package is not auto-updated.
Last update: 2026-03-29 04:02:26 UTC
README
composer require marcoazn89/oauth2-password-grant:^1.0
Generate your keys
openssl genrsa -out oauth-key.pem 1024
openssl rsa -in oauth-key.pem -pubout > oauth-key.pub
OAuth2 configuration
'auth' => [ 'private-key' => 'file://' . __DIR__ .'/../oauth-key.pem', 'public-key' => 'file://' . __DIR__ .'/../oauth-key.pub', 'expiration' => 604800 ],