toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-mcp-sdk
/
org.http4k.mcp.server.security
/
OAuthMcpSecurity
/
OAuthMcpSecurity
OAuth
Mcp
Security
constructor
(
authorizationServerUri
:
Uri
,
mcpPath
:
String
=
"/mcp"
,
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
)