Any web application with a login system needs a mechanism to track whether your users are actually logged in.
This post will explore the implementation of our very own authentication token library, which you can find here on Github: https://github.com/Brainsware/authtoken
We will go over fleshing out an API for working directly with auth tokens, talk about expiring and refreshing tokens. At the end we’ll cover a router plug to use in a Phoenix project:
Read next Automate pattern matching for structs