phoenix/views
Ivan R. 2c08171c7a
Start using JWT tokens
I thought this was a good idea.
Pros: fewer database calls.
Cons: there is no way to revoke the token (except for changing the secret key).

I rewrote the authorization as a middleware. Request handlers no longer need to validate the user.
2023-07-22 13:42:43 +05:00
..
auth.go Start using JWT tokens 2023-07-22 13:42:43 +05:00
errors.go Start using JWT tokens 2023-07-22 13:42:43 +05:00
groups.go Start using JWT tokens 2023-07-22 13:42:43 +05:00
index.go Start using JWT tokens 2023-07-22 13:42:43 +05:00
links.go Start using JWT tokens 2023-07-22 13:42:43 +05:00
settings.go Start using JWT tokens 2023-07-22 13:42:43 +05:00