vinelab/social-auth
Composer 安装命令:
composer require vinelab/social-auth
包简介
README 文档
README
Social Authentication - Laravel
Installation
Using composer require the package vinelab/social-auth.
Edit app.php and add 'Vinelab\Auth\AuthServiceProvider' to the 'providers' array.
It will automatically alias itself as SocialAuth which is a Facade.
Configuration
Publish the configuration file using php artisan vendor:publish
Usage
<?php // start the authentication process $provider = 'facebook'; // inital authentication route SocialAuth::authenticate($provider); // callback route should do this $profile = SocialAuth::profile($provider, Input::get()); $profile->provider(); // facebook $profile->info(); // the facebook profile information
统计信息
- 总下载量: 1.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-07-26