2015-05-04 05:40:17 -04:00
|
|
|
<?php
|
2026-03-26 12:46:27 -04:00
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
2015-05-04 05:40:17 -04:00
|
|
|
|
|
|
|
|
namespace Icinga\Authentication\User;
|
|
|
|
|
|
2015-07-29 03:25:14 -04:00
|
|
|
use Icinga\Authentication\Authenticatable;
|
2015-05-04 05:40:17 -04:00
|
|
|
use Icinga\User;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interface for user backends
|
|
|
|
|
*/
|
2015-07-29 03:25:14 -04:00
|
|
|
interface UserBackendInterface extends Authenticatable
|
2015-05-04 05:40:17 -04: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();
|
2021-05-27 10:42:33 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return this backend's configuration form class path
|
|
|
|
|
*
|
|
|
|
|
* This is not part of the interface to not break existing implementations.
|
|
|
|
|
* If you need a custom backend form, implement this method.
|
|
|
|
|
*
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
//public static function getConfigurationFormClass();
|
2015-05-04 05:40:17 -04:00
|
|
|
}
|