-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | LDAP authentication for Haskell web applications. -- -- LDAP authentication for Haskell web applications. @package authenticate-ldap @version 0.0.1 -- | Module for using LDAP as an authentication service -- -- This code was written for yesod-auth-ldap, but maybe it can be used in -- any given Haskell web framwork? For now, the only usage examples will -- be Yesod specific. So you can find them in the yesod-auth-ldap repo module Web.Authenticate.LDAP loginLDAP :: Text -> String -> String -> LDAPInt -> String -> String -> Maybe String -> LDAPScope -> IO LDAPAuthResult data LDAPAuthResult Ok :: [LDAPEntry] -> LDAPAuthResult NoSuchUser :: LDAPAuthResult WrongPassword :: LDAPAuthResult instance Show LDAPAuthResult