16 lines
353 B
PHP
16 lines
353 B
PHP
<?php
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
// {{{ICINGA_LICENSE_HEADER}}// {{{ICINGA_LICENSE_HEADER}}}
|
|
// {{{ICINGA_LICENSE_HEADER}}}}
|
|
|
|
namespace Icinga\Authentication;
|
|
|
|
interface UserBackend
|
|
{
|
|
public function __construct($config);
|
|
|
|
public function hasUsername(Credentials $credentials);
|
|
|
|
public function authenticate(Credentials $credentials);
|
|
}
|