marcoazn89/oauth2-password-grant

There is no license information available for the latest version (v1.0.8) of this package.

Installs: 26 881

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/marcoazn89/oauth2-password-grant

v1.0.8 2017-11-28 18:54 UTC

This package is not auto-updated.

Last update: 2025-09-28 01:11:58 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
],