MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / AuthenticatedMiddleware

Method AuthenticatedMiddleware

api/pkg/di/container.go:224–227  ·  view source on GitHub ↗

AuthenticatedMiddleware creates a new instance of middlewares.Authenticated

()

Source from the content-addressed store, hash-verified

222
223// AuthenticatedMiddleware creates a new instance of middlewares.Authenticated
224func (container *Container) AuthenticatedMiddleware() fiber.Handler {
225 container.logger.Debug("creating middlewares.Authenticated")
226 return middlewares.Authenticated(container.Tracer())
227}
228
229// Logger creates a new instance of telemetry.Logger
230func (container *Container) Logger(skipFrameCount ...int) telemetry.Logger {

Calls 2

TracerMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected