PHP code example of itk-dev / azure-ad-delta-sync

1. Go to this page and download the library: Download itk-dev/azure-ad-delta-sync 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/ */

    

itk-dev / azure-ad-delta-sync example snippets


# settings.local.php

$config['azure_ad_delta_sync.settings']['azure']['client_id'] = '…';
$config['azure_ad_delta_sync.settings']['azure']['client_secret'] = '…';
$config['azure_ad_delta_sync.settings']['azure']['group_id'] = '…';
$config['azure_ad_delta_sync.settings']['azure']['tenant_id'] = '…';
sh
php «DRUPAL_ROOT»/web/core/scripts/generate-proxy-class.php 'Drupal\azure_ad_delta_sync\UserManager' web/modules/contrib/azure_ad_delta_sync/src
php «DRUPAL_ROOT»/web/core/scripts/generate-proxy-class.php 'Drupal\azure_ad_delta_sync\Controller web/modules/contrib/azure_ad_delta_sync/src