PHP code example of dmackgl / unab-365
1. Go to this page and download the library: Download dmackgl/unab-365 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/ */
dmackgl / unab-365 example snippets
'unab' => [
'client_id' => env('UNAB_CLIENT_ID'),
'client_secret' => env('UNAB_CLIENT_SECRET'),
'redirect' => env('UNAB_REDIRECT_URI')
],
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
'DmACKGL\\UNAB\\UNABExtendSocialite@handle',
],
];
return Socialite::driver('unab')->redirect();