[TASK] Remove old class files from ext:openid
[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
7 // Register OpenID pocessing service with TYPO3
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
9 $_EXTKEY,
10 'auth',
11 'tx_openid_service_process',
12 array(
13 'title' => 'OpenID Authentication',
14 'description' => 'OpenID processing login information service for Frontend and Backend',
15 'subtype' => 'processLoginDataBE,processLoginDataFE',
16 'available' => TRUE,
17 'priority' => 35,
18 // Must be lower than for \TYPO3\CMS\Sv\AuthenticationService (50) to let other processing take place before
19 'quality' => 50,
20 'os' => '',
21 'exec' => '',
22 'className' => 'TYPO3\\CMS\\Openid\\OpenidService'
23 )
24 );
25
26 // Register OpenID authentication service with TYPO3
27 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
28 $_EXTKEY,
29 'auth',
30 'tx_openid_service',
31 array(
32 'title' => 'OpenID Authentication',
33 'description' => 'OpenID authentication service for Frontend and Backend',
34 'subtype' => 'getUserFE,authUserFE,getUserBE,authUserBE',
35 'available' => TRUE,
36 'priority' => 75,
37 // Must be higher than for \TYPO3\CMS\Sv\AuthenticationService (50) or \TYPO3\CMS\Sv\AuthenticationService will log failed login attempts
38 'quality' => 50,
39 'os' => '',
40 'exec' => '',
41 'className' => 'TYPO3\\CMS\\Openid\\OpenidService'
42 )
43 );
44
45 // Register eID script that performs final FE user authentication. It will be called by the OpenID provider
46 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_openid'] = 'EXT:openid/class.tx_openid_eid.php';
47 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['setup']['accessLevelCheck']['TYPO3\\CMS\\Openid\\OpenidModuleSetup'] = '';
48 // Use popup window to refresh login instead of the AJAX relogin:
49 $TYPO3_CONF_VARS['BE']['showRefreshLoginPopup'] = 1;