Download the PHP package dejc/passport-socialite without Composer
On this page you can find all versions of the php package dejc/passport-socialite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package passport-socialite
Laravel Passport Socialite Driver
A Laravel Socialite driver for authenticating with Laravel Passport OAuth servers.
Installation
This package can be installed using Composer. The Socialite package will also be installed if it is not already installed.
Configuration
Before using this driver, you will need to add credentials for the Passport server. These credentials should be placed in your config/services.php
configuration file, and should use the key passport
. For example:
Usage
The Passport driver works identically to the other Socialite drivers. All of the methods mentioned in the official documentation are available.
You can access the passport driver using the Socialite
facade:
The current user's details will be retrieved from the default api/user
route.
In addition to the standard Socialite methods a refresh
method is available to easily refresh expired tokens. The refresh
method accepts a refresh token and returns an updated User
with new access and refresh tokens if the token is refreshed successfully.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
- Matt Allan
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of passport-socialite with dependencies
illuminate/support Version 5.7.x|5.8.x|^6.0|^7.0|^8.0
laravel/socialite Version ^5.1