yesod/yesod-auth
Manuel Gómez 9729cd9d15 Default type instance for AuthEntity
`AuthEntity` is now a type family associated to the `YesodAuthPersist`
class, so its old type alias definition has now become its default type
instance, which allows recovering the old behavior with minimal
boilerplate: an empty instance declaration for `YesodAuthPersist` makes
a Yesod application written with Persistent work just like before.

Unfortunately, this requires enabling `UndecidableInstances` in the
`Yesod.Auth` module since there is now a nested type family application
(as `AuthEntity` is now itself a type family).

This was tested with the scaffolded application with PostgreSQL, and it
works (given another small change to make it work with Persistent 2 due
to how `SqlPersistT` is now defined).
2014-09-12 13:18:51 +00:00
..
Yesod Default type instance for AuthEntity 2014-09-12 13:18:51 +00:00
.gitignore Add 'yesod-auth/' from commit 'fe498e3dac01bfc999cad33b90a2b1b397785178' 2011-07-22 08:59:54 +03:00
auth2.hs Add 'yesod-auth/' from commit 'fe498e3dac01bfc999cad33b90a2b1b397785178' 2011-07-22 08:59:54 +03:00
browserid.hs Use newer Mozilla Persona API (#453) 2012-11-18 19:03:26 +02:00
LICENSE Update license with MIT license 2012-04-29 09:38:45 +03:00
openid.hs OpenID claimed IDs 2012-04-20 10:14:32 +03:00
persona_sign_in_blue.png Include Persona login icon yesodweb/authenticate#19 2013-02-18 11:30:23 +02:00
README Add 'yesod-auth/' from commit 'fe498e3dac01bfc999cad33b90a2b1b397785178' 2011-07-22 08:59:54 +03:00
Setup.lhs Add 'yesod-auth/' from commit 'fe498e3dac01bfc999cad33b90a2b1b397785178' 2011-07-22 08:59:54 +03:00
yesod-auth.cabal conduit 1.2 version bumps 2014-08-27 18:01:02 +03:00