A modular authentication solution for Crystal apps
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec
src
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
shard.yml

README.md

Cerberus

A modular Crystal authentication solution inspired by Devise.

It is meant for use in Amber app, currently only using Granite.

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  cerberus:
    github: ilanusse/cerberus
  1. Run shards install

Usage

require "cerberus"

TODO: Write usage instructions here

Roadmap

  • Implement generator based on Amber's Granite auth generator
  • Implement :database_authenticatable -> UNDERWAY
  • Implement :validatable -> UNDERWAY
  • Implement :registerable -> UNDERWAY
  • Implement :recoverable
  • Implement :confirmable
  • Extend generator for use with Amber & Crecto
  • Extend generator for use with Lucky
  • Extend generator for use with Amber & Jennifer
  • Implement :lockable
  • Implement :timeoutable

Contributing

  1. Fork it (https://github.com/ilanusse/cerberus/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Thanks