Added getAuth function

This commit is contained in:
Michael Snoyman 2010-05-04 17:30:23 +03:00
parent f1fc97eda0
commit 746754d510

View File

@ -29,6 +29,7 @@ module Yesod.Helpers.Auth
, siteAuth
, LoginType (..)
, YesodAuth (..)
, getAuth
) where
import Web.Encodings
@ -46,6 +47,9 @@ import Control.Exception (Exception)
-- FIXME check referer header to determine destination
getAuth :: a -> Auth
getAuth = const Auth
data LoginType = OpenId | Rpxnow
class Yesod master => YesodAuth master where