Add interface for user backends which are responsible for a specific domain

refs #2153
This commit is contained in:
Eric Lippmann 2017-06-07 15:36:42 +02:00 committed by Alexander A. Klimov
parent 8fbde51b5f
commit 05288e9bea
1 changed files with 17 additions and 0 deletions

View 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();
}