yesod/yesod-auth/Yesod/Auth
Konstantin Zudov 7ed5d4ad39 Added means to fetch user's Google profile
The existing GoogleEmail2 auth did that:
  - Acquire user access token with offline access
  - Use token to acquire user's profile
  - Build `Creds` with user's email as `ident` and the other profile
    details as stringy key-value pairs in `credsExtra`

This wasn't enough for me, for several reasons:
  - Access token was not saved after authentication. If we request 'offline'
    token why not to have a way of using it later.
  - Stringy key-value profile is not nice and `credsExtra` can be accessed
    only from `getAuthId`
  - I might want to request the profile after authentication process

So I've added the needed features.
  - The access token is saved in a session
  - There is a `Person` type with `FromJSON` instance and `getPerson`
    can be used to acquire it from `HandlerT`
2015-02-16 09:44:13 +02:00
..
BrowserId.hs Type signature fix 2014-08-03 16:07:16 +06:00
Dummy.hs yesod-auth: send json responses 2014-01-08 12:19:45 -08:00
Email.hs fix typos 2014-09-24 08:07:15 -07:00
GoogleEmail2.hs Added means to fetch user's Google profile 2015-02-16 09:44:13 +02:00
GoogleEmail.hs yesod-auth: send json responses 2014-01-08 12:19:45 -08:00
Message.hs Updated french translation of Yesod.Auth.Message. 2015-01-07 19:40:37 +01:00
OpenId.hs yesod-auth: send json responses 2014-01-08 12:19:45 -08:00
Routes.hs Added missing pragma 2014-09-08 07:11:38 +03:00
Rpxnow.hs yesod-auth: send json responses 2014-01-08 12:19:45 -08:00