[TASK] Add unit tests for getFilesInDir()
[Packages/TYPO3.CMS.git] / typo3 / sysext / openid / ext_localconf.php
1 <?php
2 // Make sure that we are executed only from the inside of TYPO3
3 if (!defined('TYPO3_MODE')) {
4 die('Access denied.');
5 }
6 // Register OpenID pocessing service with TYPO3
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_openid_service_process', array(
8 'title' => 'OpenID Authentication',
9 'description' => 'OpenID processing login information service for Frontend and Backend',
10 'subtype' => 'processLoginDataBE,processLoginDataFE',
11 'available' => TRUE,
12 'priority' => 35,
13 // Must be lower than for \TYPO3\CMS\Sv\AuthenticationService (50) to let other processing take place before
14 'quality' => 50,
15 'os' => '',
16 'exec' => '',
17 'className' => 'TYPO3\\CMS\\Openid\\OpenidService'
18 ));
19
20 // Register OpenID authentication service with TYPO3
21 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_openid_service', array(
22 'title' => 'OpenID Authentication',
23 'description' => 'OpenID authentication service for Frontend and Backend',
24 'subtype' => 'getUserFE,authUserFE,getUserBE,authUserBE',
25 'available' => TRUE,
26 'priority' => 75,
27 // Must be higher than for \TYPO3\CMS\Sv\AuthenticationService (50) or \TYPO3\CMS\Sv\AuthenticationService will log failed login attempts
28 'quality' => 50,
29 'os' => '',
30 'exec' => '',
31 'className' => 'TYPO3\\CMS\\Openid\\OpenidService'
32 ));
33
34 // Register eID script that performs final FE user authentication. It will be called by the OpenID provider
35 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_openid'] = 'EXT:openid/class.tx_openid_eid.php';
36 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['setup']['accessLevelCheck']['TYPO3\\CMS\\Openid\\OpenidModuleSetup'] = '';
37 // Use popup window to refresh login instead of the AJAX relogin:
38 $TYPO3_CONF_VARS['BE']['showRefreshLoginPopup'] = 1;