-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Authentication methods for Haskell web applications. -- -- Focus is on remote authentication methods, such as OpenID, rpxnow and -- Google. @package authenticate @version 0.6.6 module Web.Authenticate.Facebook data Facebook Facebook :: String -> String -> String -> Facebook facebookClientId :: Facebook -> String facebookClientSecret :: Facebook -> String facebookRedirectUri :: Facebook -> String newtype AccessToken AccessToken :: String -> AccessToken unAccessToken :: AccessToken -> String getForwardUrl :: Facebook -> [String] -> String accessTokenUrl :: Facebook -> String -> String getAccessToken :: Facebook -> String -> IO AccessToken graphUrl :: AccessToken -> String -> String getGraphData :: AccessToken -> String -> IO StringObject instance Show AccessToken instance Eq AccessToken instance Read AccessToken instance Show Facebook instance Eq Facebook instance Read Facebook module Web.Authenticate.OpenId getForwardUrl :: (MonadIO m, Failure OpenIdException m, Failure HttpException m, Failure InvalidUrlException m) => String -> String -> m String authenticate :: (MonadIO m, Failure OpenIdException m, Failure InvalidUrlException m, Failure HttpException m) => [(String, String)] -> m Identifier data OpenIdException NormalizationException :: String -> OpenIdException DiscoveryException :: String -> OpenIdException AuthenticationException :: String -> OpenIdException -- | A valid OpenID identifier. newtype Identifier Identifier :: String -> Identifier module Web.Authenticate.Rpxnow -- | Information received from Rpxnow after a valid login. data Identifier Identifier :: String -> [(String, String)] -> Identifier identifier :: Identifier -> String extraData :: Identifier -> [(String, String)] -- | Attempt to log a user in. authenticate :: (MonadIO m, Failure HttpException m, Failure InvalidUrlException m, Failure RpxnowException m, Failure ObjectExtractError m, Failure JsonDecodeError m) => String -> String -> m Identifier data RpxnowException RpxnowException :: String -> RpxnowException instance Typeable RpxnowException instance Show RpxnowException instance Exception RpxnowException