Empex Los Angeles Automate pattern matching for structs

Simple encrypted auth tokens for Phoenix

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:


Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.