Used to authenticate a user for a request, which can be when rendering a page or calling the API.
API Request object
API Response object
Either string (the user's id), or false (unable to authenticate)
Used to authenticate a user for a request, which can be when rendering a page or calling the API.