Registry / auth / lucadegasperi-oauth2-server-laravel

lucadegasperi-oauth2-server-laravel

JSON →
library5.2.1phppackagistunverified

An OAuth 2.0 bridge for Laravel and Lumen

composer require lucadegasperi/oauth2-server-laravel
INSTALL
IMPORT
SIG · LUCADEGASPERI-OAUT
L
lucadegasperi-oauth2-server-laravel
authphpv5.2.1
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.

Authorizer
use LucaDegasperi\OAuth2Server\Authorizer;

Validates an access token and retrieves the resource owner ID.

use LucaDegasperi\OAuth2Server\Authorizer; $authorizer = app()->make(Authorizer::class); $authorizer->setAccessToken('your-access-token'); $userId = $authorizer->getResourceOwnerId();
Debug
Known issues
breakingThis package is no longer maintained; consider using laravel/passport or league/oauth2-server directly.
fix
Migrate to a maintained OAuth2 package like Laravel Passport.
affects: >=5.0
Upgrade
Version history
5.2.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
lucadegasperi-oauth2-server-laravel — pip install lucadegasperi-oauth2-server-laravel · libregistry