mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
Add interface for user backends which are responsible for a specific domain
refs #2153
This commit is contained in:
parent
8fbde51b5f
commit
05288e9bea
17
library/Icinga/Authentication/User/DomainAwareInterface.php
Normal file
17
library/Icinga/Authentication/User/DomainAwareInterface.php
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
/* Icinga Web 2 | (c) 2017 Icinga Development Team | GPLv2+ */
|
||||||
|
|
||||||
|
namespace Icinga\Authentication\User;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Interface for user backends that are responsible for a specific domain
|
||||||
|
*/
|
||||||
|
interface DomainAwareInterface
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Get the domain the backend is responsible for
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getDomain();
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user