Is there a Rails authentication library which separates users from login methods?
- by Gareth
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?