Authentication
3 years ago
Builder
3 years ago
Decorator
3 years ago
Encoding
3 years ago
Exception
3 years ago
Formatter
3 years ago
MessageFactory
3 years ago
RequestMatcher
3 years ago
Stream
3 years ago
StreamFactory
3 years ago
UriFactory
3 years ago
Authentication.php
3 years ago
Cookie.php
3 years ago
CookieJar.php
3 years ago
CookieUtil.php
3 years ago
Exception.php
3 years ago
Formatter.php
3 years ago
RequestMatcher.php
3 years ago
filters.php
7 years ago
Authentication.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaHttp\Message; |
| 4 | |
| 5 | use AmeliaPsr\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 |