PHP code example of scheibo / steamsso

1. Go to this page and download the library: Download scheibo/steamsso 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/ */

    

scheibo / steamsso example snippets


return [
    'steam' => [
        'apiKey' => '',
        'loginUrl' => 'https://www.example.com',
        'emailDomain' => '[email protected]',
        'role' => 'steamuser',
    ],
];

 snippet('steamsso/loginbutton') 

 snippet('steamsso/logoutbutton') 

 snippet('steamsso/userinfo') 

<?= css('site/plugins/steamsso/steamsso.css')