authboss-sample

command module
v0.0.0-...-1dac6d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2018 License: MIT Imports: 37 Imported by: 0

README

Authboss Sample

A sample implementation of authboss.

This is a simple blogging engine with a few basic features:

  • Authentication provided by Authboss (all modules enabled with the exception of expire)
  • Some examples of overridden Authboss views.
  • CRUD for an in-memory storage of blogs.
  • Flash Messages
  • CSRF Protection (including authboss routes)
  • Support for API style JSON requests and responses (-api flag)
  • Various levels of debugging to see what's going wrong (-debug* flags)

Uses the following default libraries:

Disclaimer

This sample is NOT a seed project. Do not use it as one. It is used as an example of how to use the Authboss API. This means if you copy-paste code from this sample you are likely opening yourself up to various security holes, bad practice, and bad design. It's a demonstration of the surface API of Authboss and how the library can be used to make a functioning web project.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL