123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- declare(strict_types=1);
- namespace OCP\Authentication\TwoFactorAuth;
- use OCP\IUser;
- use OCP\Template;
- interface IProvider {
-
- public function getId(): string;
-
- public function getDisplayName(): string;
-
- public function getDescription(): string;
-
- public function getTemplate(IUser $user): Template;
-
- public function verifyChallenge(IUser $user, string $challenge): bool;
-
- public function isTwoFactorAuthEnabledForUser(IUser $user): bool;
- }
|