-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Authentication methods for Haskell web applications. -- -- Focus is on third-party authentication methods, such as OpenID and -- BrowserID. @package authenticate @version 1.0.0 -- | OpenIDs for a number of common OPs. When a function takes a -- String parameter, that String is the username. module Web.Authenticate.OpenId.Providers google :: String yahoo :: String livejournal :: String -> String myspace :: String -> String wordpress :: String -> String blogger :: String -> String verisign :: String -> String typepad :: String -> String myopenid :: String -> String claimid :: String -> String module Web.Authenticate.BrowserId -- | Location of the Javascript file hosted by browserid.org browserIdJs :: Text checkAssertion :: ResourceIO m => Text -> Text -> Manager -> ResourceT m (Maybe Text) module Web.Authenticate.OpenId getForwardUrl :: ResourceIO m => Text -> Text -> Maybe Text -> [(Text, Text)] -> Manager -> ResourceT m Text authenticate :: ResourceIO m => [(Text, Text)] -> Manager -> ResourceT m (Identifier, [(Text, Text)]) data AuthenticateException RpxnowException :: String -> AuthenticateException NormalizationException :: String -> AuthenticateException DiscoveryException :: String -> AuthenticateException AuthenticationException :: String -> AuthenticateException -- | A valid OpenID identifier. newtype Identifier Identifier :: Text -> Identifier identifier :: Identifier -> Text module Web.Authenticate.Rpxnow -- | Information received from Rpxnow after a valid login. data Identifier Identifier :: Text -> [(Text, Text)] -> Identifier identifier :: Identifier -> Text extraData :: Identifier -> [(Text, Text)] -- | Attempt to log a user in. authenticate :: ResourceIO m => String -> String -> Manager -> ResourceT m Identifier data AuthenticateException RpxnowException :: String -> AuthenticateException NormalizationException :: String -> AuthenticateException DiscoveryException :: String -> AuthenticateException AuthenticationException :: String -> AuthenticateException instance Typeable Identifier instance Eq Identifier instance Ord Identifier instance Read Identifier instance Show Identifier instance Data Identifier