Registry / auth / bshaffer-oauth2-server-php

bshaffer-oauth2-server-php

JSON →
library1.14.2phppackagistunverified

OAuth2 Server for PHP.

composer require bshaffer/oauth2-server-php
INSTALL
IMPORT
SIG · BSHAFFER-OAUTH2-SE
B
bshaffer-oauth2-server-php
authphpv1.14.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Server
use OAuth2\Server;

Create an OAuth2 server and handle a token request.

use OAuth2\Server; use OAuth2\GrantType\AuthorizationCode; $server = new Server(); $server->addGrantType(new AuthorizationCode($storage)); $server->handleTokenRequest(OAuth2\Request::createFromGlobals())->send();
Debug
Known issues
breakingDeprecated in favor of league/oauth2-server
fix
Migrate to league/oauth2-server for active development.
affects: >=1.0.0
Upgrade
Version history
1.14.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
28
Resources
bshaffer-oauth2-server-php — pip install bshaffer-oauth2-server-php · libregistry