Helper plugin for Glubus Authentication plugin
jeph864
2023-02-07 fb8d589056a67ae7c65894ba7472a457ce916b07
Sync users with AD
3 files modified
11 ■■■■ changed files
CHANGELOG.md 3 ●●●●● patch | view | raw | blame | history
classes/class.ilAzureADCronPlugin.php 6 ●●●● patch | view | raw | blame | history
plugin.php 2 ●●● patch | view | raw | blame | history
CHANGELOG.md
@@ -2,3 +2,6 @@
## [1.0.0]
- First version
## [1.0.1]
- Adds regular user synchromisation
classes/class.ilAzureADCronPlugin.php
@@ -1,6 +1,7 @@
<?php
require_once "Customizing/global/plugins/Services/Authentication/AuthenticationHook/AzureAD/classes/class.ilAzureADCron.php";
require_once "Customizing/global/plugins/Services/Authentication/AuthenticationHook/AzureAD/classes/class.ilAzureADCronSyncUserData.php";
/**
 * Class ilAzureADCronPlugin
 *
@@ -58,6 +59,8 @@
        switch ($a_job_id) {
            case ilAzureADCron::CRON_JOB_ID:
                return new ilAzureADCron();
            case ilAzureADCronSyncUserData::CRON_JOB_ID:
                return new ilAzureADCronSyncUserData();
            default:
                return null;
@@ -71,7 +74,8 @@
    public function getCronJobInstances() : array
    {
        return [
            new ilAzureADCron()
            new ilAzureADCron(),
            new ilAzureADCronSyncUserData()
        ];
    }
}
plugin.php
@@ -1,7 +1,7 @@
<?php
$id = "azureadcron";
$version = "1.0.0";
$version = "1.0.1";
$ilias_min_version = "5.4.0";
$ilias_max_version = "7.999";
$responsible = "Jephte Abijuru";