Add interface for user backends which are responsible for a specific domain
refs #2153
This commit is contained in:
parent
8fbde51b5f
commit
05288e9bea
|
@ -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…
Reference in New Issue