https://github.com/mightyscollins/steam-auth
Simple Laravel 5.1 Steam Auth
https://github.com/mightyscollins/steam-auth
Last synced: 7 months ago
JSON representation
Simple Laravel 5.1 Steam Auth
- Host: GitHub
- URL: https://github.com/mightyscollins/steam-auth
- Owner: MightySCollins
- License: mit
- Created: 2015-11-10T21:02:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-24T21:44:51.000Z (over 9 years ago)
- Last Synced: 2024-12-02T03:41:38.615Z (7 months ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel 5.1 Steam Login
[](https://packagist.org/packages/scollins/steam-auth)
[](https://packagist.org/packages/scollins/steam-auth)
[](https://packagist.org/packages/scollins/steam-auth)
[](https://packagist.org/packages/scollins/steam-auth)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