Class Nexus\Mcp\Client\Exception\UntrustedAuthorizationMetadataException

final
extends RuntimeException
implements McpExceptionInterface

Thrown when a metadata document names a subject other than the one whose URL served it, which is how a hostile server tries to redirect a client to an authorization server it controls.

  • Exception implements Throwable
    • RuntimeException
Methods