OAuthMcpSecurity
class OAuthMcpSecurity(resourceMetadata: ResourceMetadata, extraWwwAuthenticateFields: Pair<String, String>, checkToken: (String) -> Boolean) : McpSecurity
Standard OAuthSecurity implementation for MCP. Based around the OAuth protected resource metadata endpoint. You can pass in specific contents of the ResourceMetadata, or extra fields to be added to the WWW-Authenticate header.