yesod/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
..
Yesod Added means to fetch user's Google profile 2015-02-16 09:44:13 +02: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 Fix browserid.hs (closes #547) 2014-09-14 11:04:16 +03:00
ChangeLog.md Version bump 2015-02-08 07:17:55 +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.md Doc link updates 2014-12-21 15:23:52 +02:00
Setup.lhs Add 'yesod-auth/' from commit 'fe498e3dac01bfc999cad33b90a2b1b397785178' 2011-07-22 08:59:54 +03:00
yesod-auth.cabal Version bump 2015-02-08 07:17:55 +02:00

yesod-auth

This package provides a pluggable mechanism for allowing users to authenticate with your site. It comes with a number of common plugins, such as OpenID, BrowserID (a.k.a., Mozilla Persona), and email. Other packages are available from Hackage as well. If you've written such an add-on, please notify me so that it can be added to this description.