Skip to content

Commit

Permalink
remove http server interface
Browse files Browse the repository at this point in the history
  • Loading branch information
azjezz committed Dec 20, 2019
1 parent 8150662 commit 5b48fdd
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 151 deletions.
17 changes: 1 addition & 16 deletions src/Nuxed/Contract/Http/Message/IServerRequest.hack
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Nuxed\Contract\Http\Message;

use namespace Nuxed\Contract\Http\{Flash, Server, Session};
use namespace Nuxed\Contract\Http\{Flash, Session};

/**
* Representation of an incoming, server-side HTTP request.
Expand Down Expand Up @@ -209,21 +209,6 @@ interface IServerRequest extends IRequest {
*/
public function withoutAttribute(string $attribute): this;

/**
* Return the http principal, which represent a user authenticated by HTTP Basic or
* Digest authentication. A null value indicates the absence of a user authentication.
*/
public function getPrincipal(): ?Server\IHttpPrincipal;

/**
* Return an instance with the specified http principal implementation.
*
* This method MUST be implemented in such a way as to retain the
* immutability of the message, and MUST return an instance that has the
* http principal instance.
*/
public function withPrincipal(Server\IHttpPrincipal $principal): this;

/**
* Return an instance with the specified session implementation.
*
Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions src/Nuxed/Contract/Http/Server/Authenticator/Result/Failure.hack

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions src/Nuxed/Contract/Http/Server/Authenticator/Result/Retry.hack

This file was deleted.

18 changes: 0 additions & 18 deletions src/Nuxed/Contract/Http/Server/Authenticator/Result/Success.hack

This file was deleted.

26 changes: 0 additions & 26 deletions src/Nuxed/Contract/Http/Server/IHttpPrincipal.hack

This file was deleted.

41 changes: 0 additions & 41 deletions src/Nuxed/Contract/Http/Server/IServer.hack

This file was deleted.

0 comments on commit 5b48fdd

Please sign in to comment.