These are chat archives for cherrypy/cherrypy

12th
Jul 2016
Paweł Chwała
@cepe
Jul 12 2016 12:22
Hi all! Question: I am trying to implement JWT-based security for CherryPy's GET endpoint. I wrote a decorator @secured which is verifying if correct token is present in cherrypy.request.headers. After verification I would like to store token payload somewhere in cherrypy.request. Is it a good practise? I would like to have this information available in API I am decorating ...