yesodweb/yesod — pull request #154 by nkpart (2011-10-11 23:25:29+00:00)
Title: OpenID Extension Fields

I've exposed a second function in Yesod.Auth.OpenId that takes a list of OpenID extension fields as a parameter, which are passed straight through to Web.Authenticate.OpenId.

I wanted this so that I could use attribute exchange with Google to retrieve a user's email address. The other half to this work is a change to the Creds that are returned. `credsExtra` is now filled with all the OpenId response pairs. I originally had this list filtered down to 'openid.ext.*', but I think that prefix is google-specific.