OAuthMcpSecurity

constructor(authorizationServerUri: Uri, mcpUri: Uri, checkToken: (String) -> Boolean)

Bare bones MCP Security implementation that uses the OAuth protected resource metadata endpoint


constructor(resourceMetadata: ResourceMetadata, vararg extraWwwAuthenticateFields: Pair<String, String>, checkToken: (String) -> Boolean)