From 752abf0cd1922ce316bb737cca324f8289981888 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 24 Oct 2010 10:58:57 +0200 Subject: [PATCH] Web.Authenticate.OpenId.Providers --- Web/Authenticate/OpenId/Providers.hs | 13 +++++++++++++ authenticate.cabal | 7 ++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 Web/Authenticate/OpenId/Providers.hs diff --git a/Web/Authenticate/OpenId/Providers.hs b/Web/Authenticate/OpenId/Providers.hs new file mode 100644 index 00000000..5cce4c86 --- /dev/null +++ b/Web/Authenticate/OpenId/Providers.hs @@ -0,0 +1,13 @@ +module Web.Authenticate.OpenId.Providers + where + +google = "https://www.google.com/accounts/o8/id" +yahoo = "http://me.yahoo.com/" +livejournal u = concat ["http://", u, ".livejournal.com/"] +myspace = (++) "http://myspace.com/" +wordpress u = concat ["http://", u, ".wordpress.com/"] +blogger u = concat ["http://", u, ".blogger.com/"] +verisign u = concat ["http://", u, ".pip.verisignlabs.com/"] +typepad u = concat ["http://", u, ".typepad.com/"] +myopenid u = concat ["http://", u, ".myopenid.com/"] +claimid = (++) "http://claimid.com/" diff --git a/authenticate.cabal b/authenticate.cabal index 3a50de16..d2a6be59 100644 --- a/authenticate.cabal +++ b/authenticate.cabal @@ -1,12 +1,12 @@ name: authenticate -version: 0.7.1 +version: 0.7.2 license: BSD3 license-file: LICENSE author: Michael Snoyman maintainer: Michael Snoyman synopsis: Authentication methods for Haskell web applications. -description: Focus is on remote authentication methods, such as OpenID, - rpxnow and Google. +description: Focus is on third-party authentication methods, such as OpenID, + rpxnow and Facebook. category: Web stability: Stable cabal-version: >= 1.2 @@ -27,6 +27,7 @@ library xml >= 1.3.7 && < 1.4 exposed-modules: Web.Authenticate.Rpxnow, Web.Authenticate.OpenId, + Web.Authenticate.OpenId.Providers, Web.Authenticate.Facebook other-modules: Web.Authenticate.Internal, OpenId2.Discovery,