| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ldap.Client.Internal
- data Host
- data PortNumber :: *
- data Ldap = Ldap {
- client :: TQueue ClientMessage
- data ClientMessage = New Request (TMVar (NonEmpty ProtocolServerOp))
- data ResultCode
- = Success
- | OperationError
- | ProtocolError
- | TimeLimitExceeded
- | SizeLimitExceeded
- | CompareFalse
- | CompareTrue
- | AuthMethodNotSupported
- | StrongerAuthRequired
- | Referral
- | AdminLimitExceeded
- | UnavailableCriticalExtension
- | ConfidentialityRequired
- | SaslBindInProgress
- | NoSuchAttribute
- | UndefinedAttributeType
- | InappropriateMatching
- | ConstraintViolation
- | AttributeOrValueExists
- | InvalidAttributeSyntax
- | NoSuchObject
- | AliasProblem
- | InvalidDNSyntax
- | AliasDereferencingProblem
- | InappropriateAuthentication
- | InvalidCredentials
- | InsufficientAccessRights
- | Busy
- | Unavailable
- | UnwillingToPerform
- | LoopDetect
- | NamingViolation
- | ObjectClassViolation
- | NotAllowedOnNonLeaf
- | NotAllowedOnRDN
- | EntryAlreadyExists
- | ObjectClassModsProhibited
- | AffectsMultipleDSAs
- | Other
- data Async a
- newtype Oid = Oid ByteString
- type AttrList f = [(Attr, f ByteString)]
- wait :: Async a -> IO (Either ResponseError a)
- waitSTM :: Async a -> STM (Either ResponseError a)
- type Response = NonEmpty InMessage
- data ResponseError
- type Request = ProtocolClientOp
- raise :: Exception e => Either e a -> IO a
- sendRequest :: Ldap -> (Response -> Either ResponseError a) -> Request -> STM (Async a)
- newtype Dn = Dn Text
- newtype RelativeDn = RelativeDn Text
- newtype Password = Password ByteString
- newtype Attr = Attr Text
- unAttr :: Attr -> Text
Documentation
data PortNumber :: *
data ClientMessage Source
Constructors
| New Request (TMVar (NonEmpty ProtocolServerOp)) |
data ResultCode Source
Constructors
Instances
type AttrList f = [(Attr, f ByteString)] Source
Waiting for Request Completion
Misc
data ResponseError Source
Constructors
| ResponseInvalid Request Response | |
| ResponseErrorCode Request ResultCode Dn Text |
type Request = ProtocolClientOp Source
sendRequest :: Ldap -> (Response -> Either ResponseError a) -> Request -> STM (Async a) Source
Constructors
| Password ByteString |