Authentication
6 months ago
Builder
6 months ago
Decorator
6 months ago
Encoding
6 months ago
Exception
2 years ago
Formatter
6 months ago
MessageFactory
6 months ago
RequestMatcher
6 months ago
Stream
6 months ago
StreamFactory
6 months ago
UriFactory
6 months ago
Authentication.php
6 months ago
Cookie.php
2 years ago
CookieJar.php
2 years ago
CookieUtil.php
2 years ago
Exception.php
2 years ago
Formatter.php
6 months ago
RequestMatcher.php
6 months ago
filters.php
7 years ago
Authentication.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaHttp\Message; |
| 4 | |
| 5 | use AmeliaVendor\Psr\Http\Message\RequestInterface; |
| 6 | |
| 7 | /** |
| 8 | * Authenticate a PSR-7 Request. |
| 9 | * |
| 10 | * @author Márk Sági-Kazár <mark.sagikazar@gmail.com> |
| 11 | */ |
| 12 | interface Authentication |
| 13 | { |
| 14 | /** |
| 15 | * Authenticates a request. |
| 16 | * |
| 17 | * @param RequestInterface $request |
| 18 | * |
| 19 | * @return RequestInterface |
| 20 | */ |
| 21 | public function authenticate(RequestInterface $request); |
| 22 | } |
| 23 |