Skip to content

Glossary: Web App Security and Authentication

decorateRequest

A Fastify method that gives every request a named slot, such as user, so a hook can fill it in.

Where the book teaches it

Related terms

onRequest hookdeclare module