yesodweb/yesod — pull request #350 by mikesteele81 (2012-05-24 23:23:31+00:00)
Title: yesod-auth: change returned Creds identifier to "googleemail".

I'm tracking which authentication plugin was used for logging in users, and found that the authGoogleEmail plugin returns "openid" in it's Creds value after a successful login. I've changed this to "googleemail" to match the convention that other auth plugins follow.

Here's an overview of what all the auth modules are currently using:

module
AuthPlugin
returned Creds

BrowserId
"browserid"
"browserid"

Dummy
"dummy"
"dummy"

GoogleEmail
"googleemail"
"openid"

HashDB
"hashdb"
"hashdb"

OpenId
"openid"
"openid"

Rpxnow
"rpxnow"
"rpxnow"