Package Data | |
---|---|
Maintainer Username: | SCollins |
Maintainer Contact: | theatrepro11@gmail.com (scollins) |
Package Create Date: | 2015-11-10 |
Package Last Update: | 2015-11-24 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-16 15:02:48 |
Package Statistics | |
---|---|
Total Downloads: | 42 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 4 |
Total Forks: | 1 |
Total Open Issues: | 0 |
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:
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.
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