superbalist/laravel-lusitanian-oauth-session-store
最新稳定版本:1.0.0
Composer 安装命令:
composer require superbalist/laravel-lusitanian-oauth-session-store
包简介
A Laravel session storage interface for the lusitanian/oauth library
README 文档
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'));
统计信息
- 总下载量: 7.53k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-27