Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | declare(strict_types=1); | ||||
4 | |||||
5 | namespace Ddeboer\Imap; | ||||
6 | |||||
7 | /** | ||||
8 | * An IMAP server. | ||||
9 | */ | ||||
10 | interface ServerInterface | ||||
11 | { | ||||
12 | /** | ||||
13 | * Authenticate connection. | ||||
14 | * | ||||
15 | * @param string $username Username | ||||
16 | * @param string $password Password | ||||
17 | */ | ||||
18 | public function authenticate(string $username, string $password): ConnectionInterface; | ||||
19 | } |