OptionalauthorizationThe authorization server metadata (endpoints, capabilities),
or undefined if metadata discovery failed.
The authorization server URL, either discovered via RFC 9728 or derived from the MCP server URL as a fallback.
OptionalresourceThe OAuth 2.0 Protected Resource Metadata from RFC 9728,
or undefined if the server does not support it.
OptionalresourceThe URL at which the protected resource metadata was found, if available.
Discovery state that can be persisted across sessions by an
OAuthClientProvider.Contains the results of RFC 9728 protected resource metadata discovery and authorization server metadata discovery. Persisting this state avoids redundant discovery HTTP requests on subsequent
authcalls.