This repository is no longer maintain
Prototype for hanami auth app. Inspired by clearance
Add this line to your application's Gemfile:
gem 'hanami-auth'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hanami-auth
Mount Auth::Application
to your enviroment file:
# config/environment.rb
require 'hanami/auth'
Hanami.configure do
mount Auth::Application, at: '/account'
# ...
end
- add warden for session managment
- add account model
- register, login and logout accounts
TODO: Write usage instructions here
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hanami-auth. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.