| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ldap.Client.Bind
Description
Bind operation.
This operation comes in four flavours:
- synchronous, exception throwing (
bind) - synchronous, returning
EitherResponseError()(bindEither) - asynchronous,
IObased (bindAsync) - asynchronous,
STMbased (bindAsyncSTM)
Of those, the first one (bind) is probably the most useful for the typical usecase.
Documentation
User's password.
Constructors
| Password ByteString |
bind :: Ldap -> Dn -> Password -> IO () Source
Perform the Bind operation synchronously. Raises ResponseError on failures.
bindEither :: Ldap -> Dn -> Password -> IO (Either ResponseError ()) Source
Perform the Bind operation synchronously. Returns Left e where
e is a ResponseError on failures.