aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Authentication/TwoFactorAuth/IProvidesIcons.php
blob: b19926cab0391a0173f7f7b83dbb40baebf3a892 (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
26
27
28
29
30
31
32
33
34
35
<?php

declare(strict_types=1);

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

/**
 * Interface for two-factor providers that provide dark and light provider
 * icons
 *
 * @since 15.0.0
 */
interface IProvidesIcons extends IProvider {
	/**
	 * Get the path to the light (white) icon of this provider
	 *
	 * @return String
	 *
	 * @since 15.0.0
	 */
	public function getLightIcon(): String;

	/**
	 * Get the path to the dark (black) icon of this provider
	 *
	 * @return String
	 *
	 * @since 15.0.0
	 */
	public function getDarkIcon(): String;
}