mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
28 lines
460 B
PHP
28 lines
460 B
PHP
<?php
|
|
|
|
namespace Kanboard\Core\Security;
|
|
|
|
/**
|
|
* Authentication Provider Interface
|
|
*
|
|
* @package security
|
|
* @author Frederic Guillot
|
|
*/
|
|
interface AuthenticationProviderInterface
|
|
{
|
|
/**
|
|
* Get authentication provider name
|
|
*
|
|
* @access public
|
|
* @return string
|
|
*/
|
|
public function getName();
|
|
|
|
/**
|
|
* Authenticate the user
|
|
*
|
|
* @access public
|
|
* @return boolean
|
|
*/
|
|
public function authenticate();
|
|
}
|