‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\LoginProvider\LoginProviderInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Backend\LoginProvider\LoginProviderInterface:
TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider

Public Member Functions

 render (StandaloneView $view, PageRenderer $pageRenderer, LoginController $loginController)
 

Detailed Description

Interface for Backend Login providers

Definition at line 25 of file LoginProviderInterface.php.

Member Function Documentation

◆ render()

TYPO3\CMS\Backend\LoginProvider\LoginProviderInterface::render ( StandaloneView  $view,
PageRenderer  $pageRenderer,
LoginController  $loginController 
)

Render the login HTML

Implement this method and set the template for your form. This is also the right place to assign data to the view and add necessary JavaScript resources to the page renderer.

A good example is EXT:openid

Example: $view->setTemplatePathAndFilename($pathAndFilename); $view->assign('foo', 'bar');

Parameters
StandaloneView$view
PageRenderer$pageRenderer
LoginController$loginController

Implemented in TYPO3\CMS\Backend\LoginProvider\UsernamePasswordLoginProvider.