toggle menu
http4k
6.15.0.1
jvm
switch theme
search in API
http4k-ai-mcp-sdk
/
org.http4k.ai.mcp.server.security
/
OAuthMcpSecurity
/
OAuthMcpSecurity
OAuth
Mcp
Security
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
)