ExpressAuthTagger
Inherits PrefixScope < FrameworkTagger < FileHelper < Tagger < Reference < Object
Constants
x.use(authMiddleware) — no path argument. Which routes this guards is a
property of the object x, not of any URL, so the receiver is captured.
app.use('/prefix', authMiddleware) — the guarded path is spelled out, so
the rule can be matched against endpoint URLs anywhere in the scan (the
routes it guards are usually mounted from another file).
The start of a route registration, used as a statement boundary so a window around one route never reads the next one's middleware.
A route registration, and who it was registered on: app.get('/x', …),
router.post(…), app.route('/x').
Constructors
Class methods
Instance methods
The per-endpoint shape: look at each endpoint, tag in place, hand the
array back. Fifteen framework taggers carried a byte-identical copy of
this; they now declare only check_endpoint.
Not every framework tagger fits it — eleven still override perform
because they need a pre-scan over the project (config files, middleware
registration) before the per-endpoint pass, or they group endpoints
first. Those keep their own.