Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticatedPromptHandlerFunc ¶
func AuthenticatedPromptHandlerFunc(handler func(ctx context.Context, request mcp.GetPromptRequest) (*mcp.GetPromptResult, error)) func(ctx context.Context, request mcp.GetPromptRequest) (*mcp.GetPromptResult, error)
AuthenticatedPromptHandlerFunc wraps a prompt handler with authentication checking
func AuthenticationMiddleware ¶
func AuthenticationMiddleware() server.ToolHandlerMiddleware
AuthenticationMiddleware returns a middleware function that checks for authentication errors before allowing tool operations to proceed
func ResourceAuthenticationMiddleware ¶
func ResourceAuthenticationMiddleware() server.ResourceHandlerMiddleware
ResourceAuthenticationMiddleware returns a middleware function that checks for authentication errors before allowing resource operations to proceed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.