Flask Component User - QuinnBast/SaskTel-Communication-Portal GitHub Wiki
User
User.py
The User object is simply a model that is used to store JWT information in an easier way. The User object stores the user's username, and broadsoft_cookie, which authenticates them with the API servers. The User object allows methods to convert the object to a JSON format, or creates User object from a JWT identity.