123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
- declare(strict_types=1);
- namespace OCP\Authentication\TwoFactorAuth;
- use OCP\IUser;
- interface IRegistry {
-
- public const EVENT_PROVIDER_ENABLED = self::class . '::enable';
-
- public const EVENT_PROVIDER_DISABLED = self::class . '::disable';
-
- public function getProviderStates(IUser $user): array;
-
- public function enableProviderFor(IProvider $provider, IUser $user);
-
- public function disableProviderFor(IProvider $provider, IUser $user);
-
- public function cleanUp(string $providerId);
- }
|