middleware

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL