10 lines
170 B
PHP
10 lines
170 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Mcp\Middleware;
|
||
|
|
||
|
interface Middleware
|
||
|
{
|
||
|
public function canAccess(): bool;
|
||
|
public function handleUnauthorized(): void;
|
||
|
}
|