30 lines
529 B
PHP
30 lines
529 B
PHP
<?php
|
|
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
|
|
|
|
namespace Icinga\Authentication\User;
|
|
|
|
use Icinga\Authentication\Authenticatable;
|
|
use Icinga\User;
|
|
|
|
/**
|
|
* Interface for user backends
|
|
*/
|
|
interface UserBackendInterface extends Authenticatable
|
|
{
|
|
/**
|
|
* Set this backend's name
|
|
*
|
|
* @param string $name
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setName($name);
|
|
|
|
/**
|
|
* Return this backend's name
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getName();
|
|
}
|