API Reference auth_plug v1.5.2
AuthPlug handles all our auth needs in just a handful of lines of code.
README.md for setup instructions.
This is a TestDouble for HTTPoison which returns a predictable response. Please see: https://github.com/dwyl/elixir-auth-google/issues/35
Token module to create and validate jwt. see https://hexdocs.pm/joken/configuration.html#module-approach
AuthPlugOptional handles any route where authentication is optional
e.g. if you're building a CMS where content is public
but seeing comments requires auth, the same page can show different
content depending on if the person has logged in or not.
README.md for for optional auth usage.