scollins/steam-auth
Composer 安装命令:
composer require scollins/steam-auth
包简介
Simple Steam Open ID Login for Laravel 5.1
README 文档
README
This package redirects user to steam and returns with user information.
The user will be redirected to the steam login page, if they are able to sucsessfully login the folowing details are stored in the session:
- playerId
- name
- avatar (Current 64x64)
Now with support for Facades, just add 'steamLogin' => \SCollins\SteamAuth\Http\SteamLogin::class, to your kernal and it will test if the user is logged in.
How to use
Grab the package with composer require scollins/steam-auth
Add to your services SCollins\SteamAuth\SteamAuthServiceProvider::class,
You can even made a Facade 'Steam' => SCollins\SteamAuth\SteamAuthFacade::class,
Then publish the config files php artisan vendor:publish
Fill in the details at /config/steam.php
Redirect user to /steamlogin and they should login and /steamlogout to logout
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-10