PHP Classes

Laravel Passport Auth Proxy: Provide refresh token support to Laravel Passport

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 38 All time: 10,933 This week: 77Up
Version License PHP version Categories
passport-auth-proxy 1.0.0GNU General Publi...5PHP 5, User Management, Libraries, We...
Description 

Author

This package can provide refresh token support to Laravel Passport.

It provides a Laravel service that class provides routes for OAuth2-based API to implement refresh tokens.

A proxy class takes care of refreshing tokens by creating new tokens with new validity data and marking old tokens as expired.

Innovation Award
PHP Programming Innovation award nominee
May 2022
Number 4
Laravel Passport is a package intended to provide user authentication for APIs using the OAuth 2 protocol.

An OAuth 2-based API server can generate tokens for the API clients to access the API on behalf of a real human user who authorizes the access to the API services from API client programs.

An OAuth 2 server can generate access tokens that it returns to the API client program. In the subsequent request that the client program sends to the API server, the client only needs to pass a token value to authenticate on behalf of the same user.

API servers should renew the access tokens after some time to improve the security of the API access.

This package provides a service that can perform the renewal of access tokens using refresh tokens by following the procedure determined by the OAuth 2 protocol specification.

This way, this package can make the OAuth 2-based APIs based on the Laravel Passport more secure.

Manuel Lemos
Picture of Ahmed Saad
  Performance   Level  
Name: Ahmed Saad <contact>
Classes: 10 packages by
Country: Egypt Egypt
Age: ???
All time rank: 213721 in Egypt Egypt
Week rank: 48 Up2 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files (10)  
File Role Description
Files folder imagesrc (2 files, 2 directories)
Files folder imagetests (1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (10)  /  src  
File Role Description
Files folder imageContracts (1 file)
Files folder imageExceptions (1 file)
  Plain text file AuthProxy.php Class Class source
  Plain text file AuthProxyServiceProvider.php Class Class source

  Files folder image Files (10)  /  src  /  Contracts  
File Role Description
  Plain text file AuthProxyContract.php Class Class source

  Files folder image Files (10)  /  src  /  Exceptions  
File Role Description
  Plain text file InvalidCredentialsException.php Class Class source

  Files folder image Files (10)  /  tests  
File Role Description
Files folder imageunit (1 file)

  Files folder image Files (10)  /  tests  /  unit  
File Role Description
  Plain text file TestAuthProxy.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:38
This week:0
All time:10,933
This week:77Up