AbstractMfaController

abstract class \TYPO3\CMS\Backend\Controller\AbstractMfaController

Abstract class for mfa controllers (configuration and authentication)

Table of Contents

Properties

$allowedActions  : array
$allowedProviders  : array
$mfaProviderRegistry  : MfaProviderRegistry
$mfaRequired  : bool
$mfaTsConfig  : array
$moduleTemplate  : ModuleTemplate|null
$moduleTemplateFactory  : ModuleTemplateFactory
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
handleRequest()  : ResponseInterface
Main action for handling the request and returning the response
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService
getRecommendedProvider()  : MfaProviderManifestInterface|null
Get the recommended provider
initializeMfaConfiguration()  : void
Initialize MFA configuration based on TSconfig and global configuration
isActionAllowed()  : bool
isProviderAllowed()  : bool
isValidIdentifier()  : bool

Properties

$allowedActions

protected array $allowedActions = []

$allowedProviders

protected array $allowedProviders

Methods

handleRequest()

Main action for handling the request and returning the response

public abstract handleRequest(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

initializeMfaConfiguration()

Initialize MFA configuration based on TSconfig and global configuration

protected initializeMfaConfiguration() : void

isActionAllowed()

protected isActionAllowed(string $action) : bool

Parameters

$action : string

Return values

bool

isProviderAllowed()

protected isProviderAllowed(string $identifier) : bool

Parameters

$identifier : string

Return values

bool

isValidIdentifier()

protected isValidIdentifier(string $identifier) : bool

Parameters

$identifier : string

Return values

bool
On this page