Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davydovanton/hanami-auth
This repository is no longer maintain. Prototype for hanami auth (bad way)
https://github.com/davydovanton/hanami-auth
Last synced: 2 days ago
JSON representation
This repository is no longer maintain. Prototype for hanami auth (bad way)
- Host: GitHub
- URL: https://github.com/davydovanton/hanami-auth
- Owner: davydovanton
- License: mit
- Created: 2017-05-03T00:41:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T00:08:31.000Z (over 1 year ago)
- Last Synced: 2024-11-01T13:21:28.719Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 43.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# NOT MAINTAINED
**This repository is no longer maintain**# Hanami::Auth
Prototype for hanami auth app. Inspired by [clearance](https://github.com/thoughtbot/clearance)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'hanami-auth'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install hanami-auth
### Turn on in hanami app
Mount `Auth::Application` to your enviroment file:```ruby
# config/environment.rbrequire 'hanami/auth'
Hanami.configure do
mount Auth::Application, at: '/account'
# ...
end
```## TODO
* add warden for session managment
* add account model
* register, login and logout accounts## Usage
TODO: Write usage instructions here
## Contributing
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](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).