Rewrite of the authentication and authorization system
This commit is contained in:
28
app/Core/Security/AuthenticationProviderInterface.php
Normal file
28
app/Core/Security/AuthenticationProviderInterface.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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();
|
||||
}
|
||||
Reference in New Issue
Block a user