mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
README and TODO minor updates.
This commit is contained in:
parent
4bfbeea7e6
commit
01dec7fc78
3 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@ Devise is a flexible authentication solution for Rails based on Warden. It:
|
||||||
* Allows you to have multiple roles (or models/scopes) signed in at the same time;
|
* Allows you to have multiple roles (or models/scopes) signed in at the same time;
|
||||||
* Is based on a modularity concept: use just what you really need.
|
* Is based on a modularity concept: use just what you really need.
|
||||||
|
|
||||||
Right now it's composed of ten modules:
|
Right now it's composed of twelve modules:
|
||||||
|
|
||||||
* Authenticatable: responsible for encrypting password and validating authenticity of a user while signing in.
|
* Authenticatable: responsible for encrypting password and validating authenticity of a user while signing in.
|
||||||
* Confirmable: responsible for verifying whether an account is already confirmed to sign in, and to send emails with confirmation instructions.
|
* Confirmable: responsible for verifying whether an account is already confirmed to sign in, and to send emails with confirmation instructions.
|
||||||
|
@ -15,9 +15,11 @@ Right now it's composed of ten modules:
|
||||||
* Registerable: handles signing up users through a registration process.
|
* Registerable: handles signing up users through a registration process.
|
||||||
* Rememberable: manages generating and clearing token for remember the user from a saved cookie.
|
* Rememberable: manages generating and clearing token for remember the user from a saved cookie.
|
||||||
* Trackable: tracks sign in count, timestamps and ip.
|
* Trackable: tracks sign in count, timestamps and ip.
|
||||||
* Validatable: creates all needed validations for email and password. It's totally optional, so you're able to to customize validations by yourself.
|
|
||||||
* Timeoutable: expires sessions without activity in a certain period of time.
|
* Timeoutable: expires sessions without activity in a certain period of time.
|
||||||
|
* Validatable: creates all needed validations for email and password. It's totally optional, so you're able to to customize validations by yourself.
|
||||||
|
* HttpAuthenticatable: sign in users using basic HTTP authentication.
|
||||||
* Lockable: takes care of locking an account based on the number of failed sign in attempts. Handles unlock via expire and email.
|
* Lockable: takes care of locking an account based on the number of failed sign in attempts. Handles unlock via expire and email.
|
||||||
|
* Token Authenticatable: validates authenticity of a user while signing in using an authentication token (also known as "single access token").
|
||||||
* Activatable: if you need to activate accounts by other means, which are not through confirmation, use this module.
|
* Activatable: if you need to activate accounts by other means, which are not through confirmation, use this module.
|
||||||
|
|
||||||
There's an example application using Devise at http://github.com/plataformatec/devise_example .
|
There's an example application using Devise at http://github.com/plataformatec/devise_example .
|
||||||
|
|
3
TODO
3
TODO
|
@ -1,3 +1,2 @@
|
||||||
* Make test run with DataMapper
|
* Make test run with DataMapper
|
||||||
* Add Registerable support
|
* Extract Activatable tests from Confirmable
|
||||||
* Extract Activatable tests from Confirmable
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ require 'devise/strategies/token_authenticatable'
|
||||||
module Devise
|
module Devise
|
||||||
module Models
|
module Models
|
||||||
# Token Authenticatable Module, responsible for generate authentication token and validating
|
# Token Authenticatable Module, responsible for generate authentication token and validating
|
||||||
# authenticity of a user while signing in using a authentication token (say follows an URL).
|
# authenticity of a user while signing in using an authentication token (say follows an URL).
|
||||||
#
|
#
|
||||||
# == Configuration:
|
# == Configuration:
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue