PHP code example of ravols / socialite-seznam-driver

1. Go to this page and download the library: Download ravols/socialite-seznam-driver 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/ */

    

ravols / socialite-seznam-driver example snippets


'seznam' => [
    'client_id' => env('SEZNAM_OAUTH_CLIENT_ID'),
    'client_secret' => env('SEZNAM_OAUTH_SECRET'),
    'redirect' => env('SEZNAM_OAUTH_REDIRECT'),
];

return Socialite::driver('seznam')->redirect();

 $user = Socialite::driver('seznam')->stateless()->user();