The writeJwt function is responsible for generating and writing a JWT (JSON Web Token) secure cookie to the user's browser.
DenyAccess
This function exits and returns a login required error.
FlagActivity
FlagActivity" flags suspicious request patterns to deter potential brute force attacks. After a set number of flagged requests from a single IP, it blocks that IP to protect the platform.
DeleteJwt
The deleteJwt function is responsible for remove the current (if any) JWT (JSON Web Token) secure cookie from the user's browser.