superbalist / laravel-lusitanian-oauth-session-store
This package is abandoned and no longer maintained.
No replacement package was suggested.
A Laravel session storage interface for the lusitanian/oauth library
Package info
github.com/Superbalist/laravel-lusitanian-oauth-session-store
pkg:composer/superbalist/laravel-lusitanian-oauth-session-store
1.0.0
2016-01-28 06:53 UTC
Requires
- php: >=5.3.0
- illuminate/session: >=4.0.0
- lusitanian/oauth: 0.8.*
This package is auto-updated.
Last update: 2022-07-13 18:59:35 UTC
README
A Laravel session storage interface for the lusitanian/oauth library
Installation
composer require superbalist/laravel-lusitanian-oauth-session-store
Usage
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'));