Skip to content

Commit 739bd3d

Browse files
committed
refactor (2fa): Change IStatelessProvider definition
Signed-off-by: Michał Roszak <[email protected]>
1 parent 79013e0 commit 739bd3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/public/Authentication/TwoFactorAuth/IStatelessProvider.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99

1010
namespace OCP\Authentication\TwoFactorAuth;
1111

12-
use OCP\IUser;
12+
use OCP\AppFramework\Attribute\Implementable;
1313

1414
/**
1515
* Marks the 2FA provider stateless. That means the state of 2FA activation
1616
* for user will be checked dynamically and not stored in the database.
17+
*
18+
* @since 33.0.0
1719
*/
20+
#[Implementable(since: '33.0.0')]
1821
interface IStatelessProvider extends IProvider {
19-
20-
public function isTwoFactorAuthEnabledForUser(IUser $user): bool;
2122
}

0 commit comments

Comments
 (0)