API Reference auth_plug v#1.6.0
Copy MarkdownModules
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.
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.
Please see README.md for for optional auth usage.