PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-05-18 (16 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
passport-auth-proxy 1.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
Nominee
Vote
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
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
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  /  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  /  src  /  Contracts  
File Role Description
  Plain text file AuthProxyContract.php Class Class source

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

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

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

 Version Control Unique User Downloads  
 100%
Total:0
This week:0
For more information send a message to info at phpclasses dot org.