summaryrefslogtreecommitdiff
path: root/app/Core/Security/PasswordAuthenticationProviderInterface.php
blob: 918a4aeca1cd3c7d1199dc2fa2c9b2c49ec7869d (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
29
30
31
32
33
34
35
36
<?php

namespace Kanboard\Core\Security;

/**
 * Password Authentication Provider Interface
 *
 * @package  security
 * @author   Frederic Guillot
 */
interface PasswordAuthenticationProviderInterface extends AuthenticationProviderInterface
{
    /**
     * Get user object
     *
     * @access public
     * @return UserProviderInterface
     */
    public function getUser();

    /**
     * Set username
     *
     * @access public
     * @param  string $username
     */
    public function setUsername($username);

    /**
     * Set password
     *
     * @access public
     * @param  string $password
     */
    public function setPassword($password);
}