In Rails, what is the "API" of Restful Authentication? -
using restful authentication ( https://github.com/technoweenie/restful-authentication ), there api methods adds rails project?
so far, found
current_user # returns user object of current logged in user, nil if none logged_in? # returns true/false whether there logged in user before_filter :login_required # if no logged in user, redirects login page
is there complete list of methods / api available? in old days, have complete list of methods / functions can call, in rails, find information scattered around.
here's documentation of methods in project: http://rdoc.info/github/technoweenie/restful-authentication
the wiki quite well: https://github.com/technoweenie/restful-authentication/wiki
alternatives rails 2.3 , 3.0
- authlogic: https://github.com/binarylogic/authlogic
- devise: https://github.com/plataformatec/devise
Comments
Post a Comment