MCPcopy Create free account
hub / github.com/Authula/authula / OptionalAuthMiddleware

Method OptionalAuthMiddleware

plugins/session/plugin.go:107–123  ·  view source on GitHub ↗

OptionalAuthMiddleware validates session if present but doesn't require it

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

validateSessionCookieMethod · 0.95
shouldRenewSessionMethod · 0.95
renewSessionMethod · 0.95
ServeHTTPMethod · 0.45

Tested by

no test coverage detected