‪TYPO3CMS  ‪main
MfaProviderInterface.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
20 use Psr\Http\Message\ResponseInterface;
21 use Psr\Http\Message\ServerRequestInterface;
22 
27 {
32  public function ‪canProcess(ServerRequestInterface $request): bool;
33 
38  public function ‪isActive(‪MfaProviderPropertyManager $propertyManager): bool;
39 
47  public function ‪isLocked(‪MfaProviderPropertyManager $propertyManager): bool;
48 
52  public function ‪verify(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
53 
62  public function ‪handleRequest(
63  ServerRequestInterface $request,
64  ‪MfaProviderPropertyManager $propertyManager,
65  ‪MfaViewType $type
66  ): ResponseInterface;
67 
73  public function ‪activate(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
74 
80  public function ‪deactivate(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
81 
87  public function ‪unlock(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
88 
94  public function ‪update(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
95 }
‪TYPO3\CMS\Core\Authentication\Mfa
Definition: MfaProviderInterface.php:18
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\handleRequest
‪handleRequest(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager, MfaViewType $type)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\activate
‪bool activate(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\deactivate
‪bool deactivate(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\unlock
‪bool unlock(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface
Definition: MfaProviderInterface.php:27
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\canProcess
‪canProcess(ServerRequestInterface $request)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\verify
‪verify(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderPropertyManager
Definition: MfaProviderPropertyManager.php:33
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\isLocked
‪isLocked(MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\isActive
‪isActive(MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\update
‪bool update(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaViewType
‪MfaViewType
Definition: MfaViewType.php:24