2015-05-04 11:40:17 +02:00
|
|
|
<?php
|
2016-02-08 15:41:00 +01:00
|
|
|
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
|
2015-05-04 11:40:17 +02:00
|
|
|
|
|
|
|
namespace Icinga\Authentication\User;
|
|
|
|
|
2015-07-29 09:25:14 +02:00
|
|
|
use Icinga\Authentication\Authenticatable;
|
2015-05-04 11:40:17 +02:00
|
|
|
use Icinga\User;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface for user backends
|
|
|
|
*/
|
2015-07-29 09:25:14 +02:00
|
|
|
interface UserBackendInterface extends Authenticatable
|
2015-05-04 11:40:17 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Set this backend's name
|
|
|
|
*
|
|
|
|
* @param string $name
|
|
|
|
*
|
|
|
|
* @return $this
|
|
|
|
*/
|
|
|
|
public function setName($name);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return this backend's name
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getName();
|
|
|
|
}
|