Are there any authentication plugins that work with DataMapper?
I'm in need of an authentication method that works with DataMapper. I can see that the authlogic plugin requires the fie开发者_StackOverflowlds
crypted_password, password_salt, persistence_token
in the User model. Is it enough to just add these fields to the User model definition using DataMapper?
It would need to be significantly more sophisticated than that, since the APIs are quite different between DataMapper and ActiveRecord. However, it appears at least one person is on the same wavelength as you. Check out this ticket, which has a link to this pastie that integrates authlogic into a User model using DataMapper
.
simplest_auth
is compatible with DataMapper
精彩评论