McpAuthenticator
Interface: McpAuthenticator
Defined in: packages/mcp/src/auth.ts:10
Resolve the caller of an MCP HTTP request.
Implementations throw WebdaError.Unauthorized to reject the request.
Configure a service implementing it through the McpService authenticator
parameter; spec 2 adds an OAuth bearer-token implementation.
Methods
authenticate()
authenticate(
ctx):Promise<Session>
Defined in: packages/mcp/src/auth.ts:15
Parameters
ctx
WebContext
the HTTP request context
Returns
Promise<Session>
the caller session