1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- declare(strict_types=1);
- namespace OCP\Authentication\TwoFactorAuth;
- use OCP\EventDispatcher\Event;
- use OCP\IUser;
- class RegistryEvent extends Event {
- private IProvider $provider;
- private IUser $user;
-
- public function __construct(IProvider $provider, IUser $user) {
- parent::__construct();
- $this->provider = $provider;
- $this->user = $user;
- }
-
- public function getProvider(): IProvider {
- return $this->provider;
- }
-
- public function getUser(): IUser {
- return $this->user;
- }
- }
|