![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
formAction (ServerRequestInterface $request, ResponseInterface $response) | |
makeInterfaceSelectorBox () | |
getLoginProviderIdentifier () | |
Protected Member Functions | |
checkRedirect () | |
getSystemNews () | |
isLoginInProgress () | |
validateAndSortLoginProviders () | |
detectLoginProvider () | |
getLanguageService () | |
getBackendUserAuthentication () | |
getDatabaseConnection () | |
getDocumentTemplate () | |
Protected Attributes | |
$redirectUrl | |
$redirectToURL | |
$loginProviderIdentifier = null | |
$loginProviders = [] | |
$loginRefresh | |
$submitValue | |
$view | |
Private Member Functions | |
getUriForFileName ($filename) | |
Script Class for rendering the login form
Definition at line 34 of file LoginController.php.
__construct | ( | ) |
Initialize the login box. Will also react on a &L=OUT flag and exit.
Definition at line 88 of file LoginController.php.
References GeneralUtility\_GP(), LoginController\detectLoginProvider(), LoginController\getBackendUserAuthentication(), GeneralUtility\getIndpEnv(), LoginController\getLanguageService(), HttpUtility\redirect(), GeneralUtility\sanitizeLocalUrl(), and LoginController\validateAndSortLoginProviders().
|
protected |
Checking, if we should perform some sort of redirection OR closing of windows.
Do redirect:
If a user is logged in AND a) if either the login is just done (isLoginInProgress) or b) a loginRefresh is done
\RuntimeException | |
\UnexpectedValueException |
Definition at line 257 of file LoginController.php.
References GeneralUtility\_GP(), FormProtectionFactory\get(), LoginController\getBackendUserAuthentication(), BackendUserAuthentication\getCookieName(), LoginController\getDocumentTemplate(), LoginController\isLoginInProgress(), and HttpUtility\redirect().
|
protected |
Detect the login provider, get from request or choose the first one as default
Definition at line 483 of file LoginController.php.
References $GLOBALS, and GeneralUtility\_GP().
Referenced by LoginController\__construct().
formAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request and response objects for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now
ServerRequestInterface | $request | the current request |
ResponseInterface | $response | the current response |
Definition at line 133 of file LoginController.php.
References $response, and MessageInterface\getBody().
|
protected |
Definition at line 518 of file LoginController.php.
References $GLOBALS.
Referenced by LoginController\__construct(), and LoginController\checkRedirect().
|
protected |
Returns the database connection
Definition at line 528 of file LoginController.php.
References $GLOBALS.
Referenced by LoginController\getSystemNews().
|
protected |
Returns an instance of DocumentTemplate
Definition at line 538 of file LoginController.php.
References $GLOBALS.
Referenced by LoginController\checkRedirect().
|
protected |
Returns LanguageService
Definition at line 510 of file LoginController.php.
References $GLOBALS.
Referenced by LoginController\__construct(), and LoginController\makeInterfaceSelectorBox().
getLoginProviderIdentifier | ( | ) |
Definition at line 500 of file LoginController.php.
References LoginController\$loginProviderIdentifier.
|
protected |
Gets news from sys_news and converts them into a format suitable for showing them at the login screen.
Definition at line 368 of file LoginController.php.
References $GLOBALS, BackendUtility\BEenableFields(), BackendUtility\deleteClause(), and LoginController\getDatabaseConnection().
|
private |
Returns the uri of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the PATH_site of the TYPO3 installation
string | $filename | The input filename/filepath to evaluate |
Definition at line 392 of file LoginController.php.
References $filename, elseif, PathUtility\getAbsoluteWebPath(), GeneralUtility\getFileAbsFileName(), and GeneralUtility\getIndpEnv().
|
protected |
Checks if login credentials are currently submitted
Definition at line 415 of file LoginController.php.
References GeneralUtility\_GP().
Referenced by LoginController\checkRedirect(), and LoginController\makeInterfaceSelectorBox().
makeInterfaceSelectorBox | ( | ) |
Making interface selector:
Definition at line 332 of file LoginController.php.
References $GLOBALS, elseif, LoginController\getLanguageService(), LoginController\isLoginInProgress(), and GeneralUtility\trimExplode().
|
protected |
Validates the registered login providers
\RuntimeException |
Definition at line 443 of file LoginController.php.
References $GLOBALS.
Referenced by LoginController\__construct().
|
protected |
Definition at line 55 of file LoginController.php.
Referenced by LoginController\getLoginProviderIdentifier().
|
protected |
Definition at line 62 of file LoginController.php.
|
protected |
Definition at line 71 of file LoginController.php.
|
protected |
Definition at line 48 of file LoginController.php.
|
protected |
Definition at line 41 of file LoginController.php.
|
protected |
Definition at line 78 of file LoginController.php.
|
protected |
Definition at line 83 of file LoginController.php.