aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Authentication/TwoFactorAuth/IActivatableAtLogin.php
blob: 176b593afb76e23a0dd9537ade52efeea719d2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Authentication\TwoFactorAuth;

use OCP\IUser;

/**
 * @since 17.0.0
 */
interface IActivatableAtLogin extends IProvider {
	/**
	 * @param IUser $user
	 *
	 * @return ILoginSetupProvider
	 *
	 * @since 17.0.0
	 */
	public function getLoginSetup(IUser $user): ILoginSetupProvider;
}