Version 0.2, based on yesod 0.6
This commit is contained in:
parent
8dc5dc66f9
commit
203982e3ea
@ -3,7 +3,7 @@
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
{-# LANGUAGE RankNTypes #-}
|
||||
module Yesod.Helpers.Auth2
|
||||
module Yesod.Helpers.Auth
|
||||
( Auth
|
||||
, AuthPlugin (..)
|
||||
, AuthRoute (..)
|
||||
@ -1,5 +1,5 @@
|
||||
{-# LANGUAGE QuasiQuotes, TypeFamilies #-}
|
||||
module Yesod.Helpers.Auth2.Email
|
||||
module Yesod.Helpers.Auth.Email
|
||||
( authEmail
|
||||
, YesodAuthEmail (..)
|
||||
, EmailCreds (..)
|
||||
@ -7,7 +7,7 @@ module Yesod.Helpers.Auth2.Email
|
||||
|
||||
import Yesod
|
||||
import Yesod.Mail (randomString)
|
||||
import Yesod.Helpers.Auth2
|
||||
import Yesod.Helpers.Auth
|
||||
import System.Random
|
||||
import Control.Monad (when)
|
||||
import Control.Applicative ((<$>), (<*>))
|
||||
@ -1,11 +1,11 @@
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
module Yesod.Helpers.Auth2.Facebook
|
||||
module Yesod.Helpers.Auth.Facebook
|
||||
( authFacebook
|
||||
, facebookUrl
|
||||
) where
|
||||
|
||||
import Yesod
|
||||
import Yesod.Helpers.Auth2
|
||||
import Yesod.Helpers.Auth
|
||||
import qualified Web.Authenticate.Facebook as Facebook
|
||||
import Data.Object (fromMapping, lookupScalar)
|
||||
import Data.Maybe (fromMaybe)
|
||||
@ -1,11 +1,11 @@
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
module Yesod.Helpers.Auth2.OpenId
|
||||
module Yesod.Helpers.Auth.OpenId
|
||||
( authOpenId
|
||||
, forwardUrl
|
||||
) where
|
||||
|
||||
import Yesod
|
||||
import Yesod.Helpers.Auth2
|
||||
import Yesod.Helpers.Auth
|
||||
import qualified Web.Authenticate.OpenId as OpenId
|
||||
import Control.Monad.Attempt
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
module Yesod.Helpers.Auth2.Rpxnow
|
||||
module Yesod.Helpers.Auth.Rpxnow
|
||||
( authRpxnow
|
||||
) where
|
||||
|
||||
import Yesod
|
||||
import Yesod.Helpers.Auth2
|
||||
import Yesod.Helpers.Auth
|
||||
import qualified Web.Authenticate.Rpxnow as Rpxnow
|
||||
import Control.Monad (mplus)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod-auth
|
||||
version: 0.1.4
|
||||
version: 0.2.0
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
@ -15,7 +15,7 @@ library
|
||||
build-depends: base >= 4 && < 5
|
||||
, authenticate >= 0.7 && < 0.8
|
||||
, bytestring >= 0.9.1.4 && < 0.10
|
||||
, yesod >= 0.5.2 && < 0.6
|
||||
, yesod >= 0.6 && < 0.7
|
||||
, wai >= 0.2 && < 0.3
|
||||
, template-haskell
|
||||
, pureMD5 >= 1.1 && < 1.2
|
||||
@ -23,13 +23,13 @@ library
|
||||
, data-object >= 0.3.1.3 && < 0.4
|
||||
, control-monad-attempt >= 0.3.0 && < 0.4
|
||||
, utf8-string >= 0.3.4 && < 0.4
|
||||
exposed-modules: Yesod.Helpers.Auth2
|
||||
Yesod.Helpers.Auth2.Email
|
||||
Yesod.Helpers.Auth2.Facebook
|
||||
Yesod.Helpers.Auth2.OpenId
|
||||
Yesod.Helpers.Auth2.Rpxnow
|
||||
exposed-modules: Yesod.Helpers.Auth
|
||||
Yesod.Helpers.Auth.Email
|
||||
Yesod.Helpers.Auth.Facebook
|
||||
Yesod.Helpers.Auth.OpenId
|
||||
Yesod.Helpers.Auth.Rpxnow
|
||||
ghc-options: -Wall
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/snoyberg/yesod.git
|
||||
location: git://github.com/snoyberg/yesod-auth.git
|
||||
|
||||
Loading…
Reference in New Issue
Block a user