API Reference auth_plug v1.5.2

modules

Modules

AuthPlug handles all our auth needs in just a handful of lines of code. Please see 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

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. Please see README.md for for optional auth usage.