summaryrefslogtreecommitdiff
path: root/app/Core/Security/AuthenticationProviderInterface.php
blob: 828e272c42fc740ecccd583ee38a93c498b6f520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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();
}