PHP code example of robertdrakedennis / socialiteproviders-steam
1. Go to this page and download the library: Download robertdrakedennis/socialiteproviders-steam library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
robertdrakedennis / socialiteproviders-steam example snippets
'steam' => [
'client_id' => null,
'client_secret' => env('STEAM_CLIENT_SECRET'),
'redirect' => env('STEAM_REDIRECT_URI'),
'allowed_hosts' => [
'example.com',
]
],
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
\SocialiteProviders\Steam\SteamExtendSocialite::class.'@handle',
],
];
return Socialite::driver('steam')->redirect();