OAuthClient.resource

The canonical resource indicator (the MCP server URL). MANDATORY for the MCP authorization/token flows: per RFC 8707 the resource indicator MUST be sent on the authorization and token requests regardless of whether the authorization server advertises support, so authorizationUrl, exchangeCode, refresh, clientCredentials, tokenExchange, and jwtBearerGrant reject an empty value. useOAuth sets this to the canonical MCP server URI automatically.

class OAuthClient
string resource;