-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Authentication methods for Haskell web applications. -- -- API docs and the README are available at -- http://www.stackage.org/package/authenticate. @package authenticate @version 1.3.4 -- | OpenIDs for a number of common OPs. When a function takes a -- String parameter, that String is the username. module Web.Authenticate.OpenId.Providers -- | Deprecated: Google no longer provides OpenID support 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.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 :: MonadIO m => String -> String -> Manager -> m Identifier data AuthenticateException RpxnowException :: String -> AuthenticateException NormalizationException :: String -> AuthenticateException DiscoveryException :: String -> AuthenticateException AuthenticationException :: String -> AuthenticateException instance Data.Data.Data Web.Authenticate.Rpxnow.Identifier instance GHC.Show.Show Web.Authenticate.Rpxnow.Identifier instance GHC.Read.Read Web.Authenticate.Rpxnow.Identifier instance GHC.Classes.Ord Web.Authenticate.Rpxnow.Identifier instance GHC.Classes.Eq Web.Authenticate.Rpxnow.Identifier module Web.Authenticate.BrowserId -- | Location of the Javascript file hosted by browserid.org browserIdJs :: Text checkAssertion :: MonadIO m => Text -> Text -> Manager -> m (Maybe Text) module Web.Authenticate.OpenId getForwardUrl :: MonadIO m => Text -> Text -> Maybe Text -> [(Text, Text)] -> Manager -> m Text -- | Deprecated: Use authenticateClaimed authenticate :: MonadIO m => [(Text, Text)] -> Manager -> m (Identifier, [(Text, Text)]) authenticateClaimed :: MonadIO m => [(Text, Text)] -> Manager -> m OpenIdResponse 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 data OpenIdResponse oirOpLocal :: OpenIdResponse -> Identifier oirParams :: OpenIdResponse -> [(Text, Text)] oirClaimed :: OpenIdResponse -> Maybe Identifier