‪TYPO3CMS  11.5
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 {
35  public function ‪canProcess(ServerRequestInterface $request): bool;
36 
44  public function ‪isActive(‪MfaProviderPropertyManager $propertyManager): bool;
45 
56  public function ‪isLocked(‪MfaProviderPropertyManager $propertyManager): bool;
57 
65  public function ‪verify(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
66 
79  public function ‪handleRequest(
80  ServerRequestInterface $request,
81  ‪MfaProviderPropertyManager $propertyManager,
82  string $type
83  ): ResponseInterface;
84 
92  public function ‪activate(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
93 
101  public function ‪deactivate(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
102 
110  public function ‪unlock(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
111 
119  public function ‪update(ServerRequestInterface $request, ‪MfaProviderPropertyManager $propertyManager): bool;
120 }
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\verify
‪bool verify(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa
Definition: MfaProviderInterface.php:18
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\activate
‪bool activate(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\canProcess
‪bool canProcess(ServerRequestInterface $request)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\isActive
‪bool isActive(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\MfaProviderPropertyManager
Definition: MfaProviderPropertyManager.php:33
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\update
‪bool update(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\handleRequest
‪ResponseInterface handleRequest(ServerRequestInterface $request, MfaProviderPropertyManager $propertyManager, string $type)
‪TYPO3\CMS\Core\Authentication\Mfa\MfaProviderInterface\isLocked
‪bool isLocked(MfaProviderPropertyManager $propertyManager)