# Functions

Auth middleware redirects to /login and aborts the current request if there is no authenticated user.
Cache middleware sets the Cache-Control header.
General handles the default headers that should be present in every response.
NoAuth is for routes that can only be accessed when the user is unauthenticated.
Sensitive middleware handles headers that should be set for routes that may contain sensitive data such as personal information.
Session middleware checks for an active session and sets the UserIDKey to the context of the current request if found.
Throttle middleware takes a limit per minute and blocks any additional requests that go over this limit.

# Constants

SessionIDKey is the key used to set and get the session id in the context of the current request.
UserIDKey is the key used to set and get the user id in the context of the current request.