aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-06-30 14:14:36 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-03 14:25:01 +0200
commit05aa39d777039c07de4e10b1b2aae8223e2b63df (patch)
treeda29654da60513d8bf1720c5ddea72de7905a706 /lib/public/Authentication/TwoFactorAuth/RegistryEvent.php
parent1d5beb368862020b49fe1cc840e9b1c7eb3f6931 (diff)
downloadnextcloud-server-05aa39d777039c07de4e10b1b2aae8223e2b63df.tar.gz
nextcloud-server-05aa39d777039c07de4e10b1b2aae8223e2b63df.zip
Fix event names of 2FA related typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Authentication/TwoFactorAuth/RegistryEvent.php')
-rw-r--r--lib/public/Authentication/TwoFactorAuth/RegistryEvent.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php b/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php
index fcc7e5f9207..0e36699c4ae 100644
--- a/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php
+++ b/lib/public/Authentication/TwoFactorAuth/RegistryEvent.php
@@ -31,13 +31,14 @@ use OCP\IUser;
/**
* @since 15.0.0
+ * @deprecated 28.0.0 Use TwoFactorProviderForUserRegistered or TwoFactorProviderForUserUnregistered instead
+ * @see \OCP\Authentication\TwoFactorAuth\TwoFactorProviderForUserRegistered
+ * @see \OCP\Authentication\TwoFactorAuth\TwoFactorProviderForUserUnregistered
*/
class RegistryEvent extends Event {
- /** @var IProvider */
- private $provider;
+ private IProvider $provider;
- /** @IUser */
- private $user;
+ private IUser $user;
/**
* @since 15.0.0