[TASK] Change "true" into "TRUE"
[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 authentication service with TYPO3
8 t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_openid_sv1' /* sv key */,
9 array(
10 'title' => 'OpenID Authentication',
11 'description' => 'OpenID authentication service for Frontend and Backend',
12 'subtype' => 'getUserFE,authUserFE,getUserBE,authUserBE',
13 'available' => TRUE,
14 'priority' => 75, // Must be higher than for tx_sv_auth (50) or tx_sv_auth will deny request unconditionally
15 'quality' => 50,
16 'os' => '',
17 'exec' => '',
18 'classFile' => t3lib_extMgm::extPath($_EXTKEY).'sv1/class.tx_openid_sv1.php',
19 'className' => 'tx_openid_sv1',
20 )
21 );
22
23 // Register eID script that performs final FE user authentication. It will be called by the OpenID provider
24 $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_openid'] = 'EXT:openid/class.tx_openid_eid.php';
25
26 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['setup']['accessLevelCheck']['tx_openid_mod_setup'] = 'EXT:openid/class.tx_openid_mod_setup.php';
27
28 // Use popup window to refresh login instead of the AJAX relogin:
29 $TYPO3_CONF_VARS['BE']['showRefreshLoginPopup'] = 1;
30 ?>