You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's cumbersome to initialize a new Utilities class (requiring username and password) when you've already initialized an Admin class (or vice versa). Rethink how these modules are organized and how authentication should be handled.
Two ideas:
allow for passing a token parameter to be used for authenticating the class
remove the User class initialization from the Admin and Utilities classes and instead add a token parameter to all functions
The text was updated successfully, but these errors were encountered:
It's cumbersome to initialize a new
Utilities
class (requiringusername
andpassword
) when you've already initialized anAdmin
class (or vice versa). Rethink how these modules are organized and how authentication should be handled.Two ideas:
token
parameter to be used for authenticating the classUser
class initialization from the Admin and Utilities classes and instead add atoken
parameter to all functionsThe text was updated successfully, but these errors were encountered: