I\'ve built the following decorator to extract a token from HTTP headers, and call the decorated function. Or, if no token exists, or is invalid, returns a 403 status.