Is there a Rails authentication library which separates users from login methods?
Posted
by Gareth
on Stack Overflow
See other posts from Stack Overflow
or by Gareth
Published on 2010-04-01T22:29:39Z
Indexed on
2010/04/01
22:33 UTC
Read the original article
Hit count: 316
In my mental model of authentication, a user should be distinct from the way they log in. So for example, a User could have an associated EmailLogin (with an email/password), or they could have many (or none). Similarly they could have 0..* associated OpenIDLogin credentials.
Are there any existing authentication libraries for Rails which use this method?
Alternatively, is this a really terrible idea?
© Stack Overflow or respective owner