PHP code example of lrgdigidev / laravel-azure-ad
1. Go to this page and download the library: Download lrgdigidev/laravel-azure-ad 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/ */
lrgdigidev / laravel-azure-ad example snippets
php artisan vendor:publish
\Metrogistics\AzureSocialite\UserFactory::userCallback(function($new_user){
$new_user->api_token = str_random(60);
});