Versions in this module Expand all Collapse all v0 v0.0.1 May 21, 2025 Changes in this version + func AuthnMiddleware(retriever UserRetriever) gin.HandlerFunc + func AuthzMiddleware(authorizer Authorizer) gin.HandlerFunc + func Cors(c *gin.Context) + func NoCache(c *gin.Context) + func RequestIDMiddleware() gin.HandlerFunc + func Secure(c *gin.Context) + type Authorizer interface + Authorize func(subject, object, action string) (bool, error) + type UserRetriever interface + GetUser func(ctx context.Context, userID string) (*model.UserM, error)