yesod-auth-ldap-0.0.3: LDAP Authentication for Yesod.

Safe HaskellSafe-Infered

Yesod.Auth.LDAP

Documentation

data LDAPConfig Source

Constructors

LDAPConfig 

Fields

usernameModifier :: Text -> Text

When a user gives username x, f(x) will be passed to LDAP

nameToDN :: Text -> String

During the second bind, the username must be converted to a valid DN

identifierModifier :: Text -> [LDAPEntry] -> Text

When a user gives username x, f(x) will be passed to Yesod

ldapHost :: String
 
ldapPort' :: LDAPInt
 
initDN :: String
 
initPass :: String
 
baseDN :: Maybe String
 
ldapScope :: LDAPScope