-
Notifications
You must be signed in to change notification settings - Fork 13
/
ext_localconf.php
31 lines (28 loc) · 1.12 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
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Antwerpes.' . $_EXTKEY,
'DocCheckAuthentication',
array(
'DocCheckAuthentication' => 'main, loggedIn, loginForm',
),
// non-cacheable actions
array(
'DocCheckAuthentication' => 'main, loggedIn',
)
);
// Add the service
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Antwerpes\\ApDocchecklogin\\DocCheckAuthenticationService', array(
'title' => 'DocCheck Authentication Service',
'description' => 'Authenticates users through the DocCheck Authentication Service',
'subtype' => 'getUserFE,authUserFE',
'available' => true,
'priority' => 60,
'quality' => 60,
'os' => '',
'exec' => '',
'className' => 'Antwerpes\\ApDocchecklogin\\DocCheckAuthenticationService'
));
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser'][] = 'EXT:ap_docchecklogin/Classes/DocCheckAuthenticationService.php:&Antwerpes\ApDocchecklogin\DocCheckAuthenticationService->bypassLoginForCrawling';