Download the PHP package soljian/steam-authentication-bundle without Composer
On this page you can find all versions of the php package soljian/steam-authentication-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download soljian/steam-authentication-bundle
More information about soljian/steam-authentication-bundle
Files in soljian/steam-authentication-bundle
Package steam-authentication-bundle
Short Description Symfony Bundle to integrate Steam authentication, based on Knojector's work.
License MIT
Informations about the package steam-authentication-bundle
SteamAuthenticationBundle
A Symfony Bundle that provides authentication via Steam for your application.
Installation & Configuration
Just require the bundle via Composer and use the given flex recipe during the install process.
composer require soljian/steam-authentication-bundle
In your .env
file a new entry for your Steam API key was generated. You can obtain your Steam API key here: https://steamcommunity.com/dev/apikey
login_route The route the user is redirected to after Steam Login
login_redirect The route the user is redirected to if the login was successfull
user_class Classname of your User Entity
request_validator_class Classname of RequestValidatorInterface class. If it isn't set then Soljian\SteamAuthenticationBundle\Security\Authentication\Validator\RequestValidator
will be used.
Make sure your User Entity extends from the Soljian\SteamAuthenticationBundle\User\AbstractSteamUser
class
Finally you just have to configure your firewall. A working example might looks like this
To display the "Login via Steam" button just include this snippet in your template
You can choose between two images (1 or 2) that will be display as button. Or simply enter your own text.
All versions of steam-authentication-bundle with dependencies
symfony/framework-bundle Version ^4.0
symfony/orm-pack Version ^1.0
symfony/security-bundle Version ^4.0
symfony/twig-bundle Version ^4.0
symfony/yaml Version ^4.0
guzzlehttp/guzzle Version ^6.3