TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Sv\LoginFormHook Class Reference
Inheritance diagram for TYPO3\CMS\Sv\LoginFormHook:
tx_sv_loginformhook

Public Member Functions

 getLoginFormTag (array $params, \TYPO3\CMS\Backend\Controller\LoginController &$pObj)
 
 getLoginScripts (array $params, \TYPO3\CMS\Backend\Controller\LoginController &$pObj)
 

Protected Member Functions

 getChallenge ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! This class contains a BE login form hook. It adds all necessary JavaScript for the superchallenged authentication.

Author
Dmitry Dulepov dmitr.nosp@m.y@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 22 of file LoginFormHook.php.

Member Function Documentation

◆ getChallenge()

TYPO3\CMS\Sv\LoginFormHook::getChallenge ( )
protected

Create a random challenge string

Returns
string Challenge value

Definition at line 85 of file LoginFormHook.php.

Referenced by TYPO3\CMS\Sv\LoginFormHook\getLoginFormTag().

◆ getLoginFormTag()

TYPO3\CMS\Rsaauth\Hook\LoginFormHook::getLoginFormTag ( array  $params,
\TYPO3\CMS\Backend\Controller\LoginController $pObj 
)

Provides form code for the superchallenged authentication.

Parameters
array$paramsParameters to the script
\TYPO3\CMS\Backend\Controller\LoginController$pObjCalling object
Returns
string The code for the login form

Adds RSA-specific JavaScript and returns a form tag

Parameters
array$params
\TYPO3\CMS\Backend\Controller\LoginController$pObj
Returns
string Form tag
Exceptions

Definition at line 31 of file LoginFormHook.php.

References TYPO3\CMS\Sv\LoginFormHook\getChallenge().

◆ getLoginScripts()

TYPO3\CMS\Sv\LoginFormHook::getLoginScripts ( array  $params,
\TYPO3\CMS\Backend\Controller\LoginController $pObj 
)

Provides form code for the superchallenged authentication.

Parameters
array$paramsParameters to the script
\TYPO3\CMS\Backend\Controller\LoginController$pObjCalling object
Returns
string The code for the login form

Definition at line 57 of file LoginFormHook.php.

References $GLOBALS.