-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_localconf.php
31 lines (28 loc) · 1.1 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
declare(strict_types=1);
defined('TYPO3') or die();
(function () {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['backend']['loginProviders'][1650912385] = [
'provider' => \DifferentTechnology\AzureAdBe\LoginProvider\ActiveDirectoryLoginProvider::class,
'sorting' => 100,
'icon-class' => 'fa-key',
'label' => 'LLL:EXT:azure_ad_be/Resources/Private/Language/locallang.xlf:login.link'
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
'azure_ad_be',
'auth',
'tx_azure_ad_be',
[
'title' => 'Azure AD Authentication',
'description' => 'Azure AD service for backend',
'subtype' => 'processLoginDataBE,getUserBE,authUserBE',
'available' => true,
'priority' => 100,
// Must be lower than for \TYPO3\CMS\Sv\AuthenticationService (50) to let other processing take place before
'quality' => 50,
'os' => '',
'exec' => '',
'className' => \DifferentTechnology\AzureAdBe\Service\AzureAdBeService::class
]
);
})();