EntryPointInterface
Produces the failure response for a firewall when authentication is required but absent/invalid: a LoginRedirectEntryPoint (reuses the existing ForwardService login flow) for session/form firewalls, or an HttpChallengeEntryPoint (401 + WWW-Authenticate, RFC 7807 JSON, matching Quiote\Mcp\Middleware\McpAuthMiddleware) for token firewalls.
Synopsis
Section titled “Synopsis”interface EntryPointInterface
| Implemented by | HttpChallengeEntryPoint, LoginRedirectEntryPoint |
| Since | 1.0.0 |
| Source | Security/Auth/EntryPointInterface.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
start(ServerRequestInterface $request, AuthenticationException $exception): ResponseInterface |
start()
Section titled “start()”abstract public function start(ServerRequestInterface $request, AuthenticationException $exception): ResponseInterface
The exception the failing authenticator threw.
| Parameter | Type | Description |
|---|---|---|
$request | ServerRequestInterface | The request that failed authentication. |
$exception | AuthenticationException | The exception the failing authenticator threw. |
Returns ResponseInterface — The response to send instead of continuing the pipeline.