API Reference auth_plug v#1.6.0

Copy Markdown

Modules

AuthPlug handles all our auth needs in just a handful of lines of code. Please see README.md for setup instructions.

Sample Application for showing easy setup of auth_plug

This is a TestDouble for HTTPoison which returns a predictable response. Please see: https://github.com/dwyl/elixir-auth-google/issues/35

Helper functions for apps using auth_plug.

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.