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

Method Middleware

plugins/csrf/plugin.go:161–213  ·  view source on GitHub ↗

Middleware returns a CSRF protection middleware that users can add to custom routes.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

setCSRFCookieMethod · 0.95
GetRequestContextFunction · 0.92
SetJSONResponseMethod · 0.80
GenerateMethod · 0.65
GetMethod · 0.65
ServeHTTPMethod · 0.45

Tested by

no test coverage detected