MCP PHP SDK

AuthorizationException extends RuntimeException implements ClientExceptionInterface

Thrown when a client cannot obtain the credentials a protected MCP server demands.

Tags
author

Christopher Hertel mail@christopher-hertel.de

Table of Contents

Interfaces

ClientExceptionInterface

Methods

__construct()  : mixed

Methods

__construct()

public __construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = ''
$code : int = 0
$previous : Throwable|null = null
On this page

Search results