File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 55use Psr \Http \Message \RequestInterface ;
66
77/**
8- * Authenticate a PSR-7 Request.
8+ * Add authentication information to a PSR-7 Request.
99 *
1010 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
1111 */
1212interface Authentication
1313{
1414 /**
15- * Authenticates a request.
15+ * Alter the request to add the authentication credentials .
1616 *
17- * @param RequestInterface $request
17+ * To do that, the implementation might use pre-stored credentials or do
18+ * separate HTTP requests to obtain a valid token.
1819 *
19- * @return RequestInterface
20+ * @param RequestInterface $request The request without authentication information
21+ *
22+ * @return RequestInterface The request with added authentication information
2023 */
2124 public function authenticate (RequestInterface $ request );
2225}
You can’t perform that action at this time.
0 commit comments