From e3e5cb80eb6b2cc06c0ed80e4bdfc432d7fda6e5 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Tue, 24 Mar 2015 08:54:09 +0200 Subject: [PATCH] A bit more version bumping --- yesod-auth/ChangeLog.md | 4 ++++ yesod-auth/Yesod/Auth.hs | 2 ++ 2 files changed, 6 insertions(+) diff --git a/yesod-auth/ChangeLog.md b/yesod-auth/ChangeLog.md index 263ce819..c6001174 100644 --- a/yesod-auth/ChangeLog.md +++ b/yesod-auth/ChangeLog.md @@ -1,3 +1,7 @@ +## 1.4.4 + +* Add AuthenticationResult and authenticate function [#959](https://github.com/yesodweb/yesod/pull/959) + ## 1.4.3 * Added means to fetch user's Google profile [#936](https://github.com/yesodweb/yesod/pull/936) diff --git a/yesod-auth/Yesod/Auth.hs b/yesod-auth/Yesod/Auth.hs index 852cdf20..7f8b3d99 100644 --- a/yesod-auth/Yesod/Auth.hs +++ b/yesod-auth/Yesod/Auth.hs @@ -81,6 +81,8 @@ type Method = Text type Piece = Text -- | The result of an authentication based on credentials +-- +-- Since 1.4.4 data AuthenticationResult master = Authenticated (AuthId master) -- ^ Authenticated successfully | UserError AuthMessage -- ^ Invalid credentials provided by user