summaryrefslogtreecommitdiff
path: root/app/Core/Security/PasswordAuthenticationProviderInterface.php
blob: c230454654ee659956015817f31390cb56c89247 (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 \Kanboard\Core\User\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);
}