Documentation
¶
Index ¶
- func GinAuthContext(verifiers ...authentication.HTTPLoginStatusVerifier) gin.HandlerFunc
- func GinRequireAuth() gin.HandlerFunc
- func McpAuthContextFromSSEHeader(key string, srv authentication.IAuthenticationService) smcp.SSEOption
- func McpRequireLogin(next server.ToolHandlerFunc) server.ToolHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinAuthContext ¶
func GinAuthContext(verifiers ...authentication.HTTPLoginStatusVerifier) gin.HandlerFunc
func GinRequireAuth ¶
func GinRequireAuth() gin.HandlerFunc
GinRequireAuth is a middleware that check if request has been authenticated using authentication.AuthContext
func McpAuthContextFromSSEHeader ¶
func McpAuthContextFromSSEHeader( key string, srv authentication.IAuthenticationService, ) smcp.SSEOption
func McpRequireLogin ¶
func McpRequireLogin(next server.ToolHandlerFunc) server.ToolHandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.