yesod/yesod-auth/Yesod/Auth
patrick brisbin 3564e1f746
Add AuthenticationResult and authenticate function
- getAuthId returns Maybe AuthId with no useful information in the
  Nothing case.
- AuthenticationResult includes whether it was a User or Server error
  (with an accompanying message) in the failure case.
- User errors are displayed back to the user and have a 401 status in
  JSON responses. Server errors are logged and a generic error message
  is presented to the user, with a 500 status in JSON responses.

Resolves #956
2015-03-23 18:01:26 -04: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 add pragmas 2015-02-22 17:18:13 -08:00
GoogleEmail.hs add pragmas 2015-02-22 17:18:13 -08:00
Message.hs Add AuthenticationResult and authenticate function 2015-03-23 18:01:26 -04:00
OpenId.hs add pragmas 2015-02-22 17:18:13 -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