4

So i'm workin on a wrapper for an api, and it has authenticated endpoints. My request function has a check to see if the user has a token before making the authed request, but guess who forgot to actually mark like 20-40 different methods as authed : D

Comments
  • 1
    Authorized, not authorized... they're just words.
  • 3
    Any method is both authorized and unauthorized at the same time. It only depends on who's accessing it and how badly he/she wants to get in

    #dev-philosophy
Add Comment