Download the PHP package doriantm/steam-authentication-bundle-custome without Composer
On this page you can find all versions of the php package doriantm/steam-authentication-bundle-custome. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download doriantm/steam-authentication-bundle-custome
More information about doriantm/steam-authentication-bundle-custome
Files in doriantm/steam-authentication-bundle-custome
Package steam-authentication-bundle-custome
Short Description Symfony Bundle to integrate Steam authentication
License MIT
Informations about the package steam-authentication-bundle-custome
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 knojector/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 Knojector\SteamAuthenticationBundle\Security\Authentication\Validator\RequestValidator
will be used.
Make sure your User Entity extends from the Knojector\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-custome 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