Mochi is a shard inspired by devise for ruby. Mochi handles everything authentication. Currently amber is the only supported framework with both granite and jennifer orms being supported. I am open to other frameworks being supported, such as lucky, but there is a lot to do before that. If you want this to work with lucky asap, you'll have to open a pull request right now.
The Mochi CLI makes installation easy. Please give a thanks to the amber core team for their CLI. I have pulled it out of amber to use as a base.
Note: Only the class 'User' is supported right now. This may change in future releases.
Currently, Mochi has 4 modules:
Basic authentication. Sign up, sign in, sign out.
Note: Mochi also puts 'password' and 'new_password' in as attributes, however we don't want these saved in plain text so do NOT add them as columns.
Users are required to confirm their email prior to activation. Mochi generates a UUID for each user and sends an email. This UUID is for user activation and verification
Users can sign up with google, facebook, github, twitter or vk. (Google & VK WIP)
Allows users to reset password
Token is generated & email is sent out, users cannot sign in at this time
Users click link in email to confirm password reset
Users may now sign in with new password, token is cleared for future use