| Safe Haskell | Safe-Infered |
|---|
Web.Authenticate.LDAP
Description
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
Documentation
loginLDAP :: Text -> String -> String -> String -> LDAPInt -> String -> String -> Maybe String -> LDAPScope -> IO LDAPAuthResultSource
data LDAPAuthResult Source
Constructors
| Ok [LDAPEntry] | |
| NoSuchUser | |
| WrongPassword | |
| InitialBindFail |
Instances