Package Data | |
---|---|
Maintainer Username: | superbalist |
Maintainer Contact: | info@superbalist.com (Superbalist.com a division of Takealot Online (Pty) Ltd) |
Package Create Date: | 2016-01-27 |
Package Last Update: | 2017-02-06 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2022-07-03 15:18:20 |
Package Statistics | |
---|---|
Total Downloads: | 5,240 |
Monthly Downloads: | 89 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 40 |
Total Forks: | 1 |
Total Open Issues: | 0 |
A Laravel session storage interface for the lusitanian/oauth library
composer require superbalist/laravel-lusitanian-oauth-session-store
use App;
use OAuth\ServiceFactory;
use Superbalist\LusitanianOAuth\LaravelTokenSessionStore;
// this example demonstrates creating a github service
$factory = new ServiceFactory();
$store = App::make('session.store');
$storage = new LaravelTokenSessionStore($store);
$credentials = [
'[[github key]]',
'[[github secret]]',
'[[url]]',
];
$gitHub = $factory->createService('GitHub', $credentials, $storage, array('user'));