blob: f7e95f96858431e9fd771430996872149f72f33c [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001<?php
2
3declare(strict_types=1);
4
5namespace Ddeboer\Imap;
6
7/**
8 * An IMAP server.
9 */
10interface 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}