More Options
A complete application would support many more tasks around authentication. A few of the most notable include:
An interface for managing users and privileges
Letting users stay logged into their account on a given browser
Finer-grained permissions for different categories of users
Mechanisms that let users reset their passwords
Email address verification
Detailed account settings that let users set preferences
OpenID support
All of these things, however, are projects with details that vary widely across
different applications. The restful_authentication
plug-in supports some of these options, such as connecting the password system
to email, but most of this is work thatâs very dependent on what precisely you want
to build. The users model is a model like any other: you can extend it, connect tables to
it, and build whatever system youâd like behind your application. The restful_authentication
plug-in gives you a foundation, and you
can build whatever you need on top of it.
Get Learning Rails: Live Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.