| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ldap.Client.Add
Description
Add operation.
This operation comes in four flavours:
- synchronous, exception throwing (
add) - synchronous, returning
EitherResponseError()(addEither) - asynchronous,
IObased (addAsync) - asynchronous,
STMbased (addAsyncSTM)
Of those, the first one (add) is probably the most useful for the typical usecase.
- add :: Ldap -> Dn -> AttrList NonEmpty -> IO ()
- addEither :: Ldap -> Dn -> AttrList NonEmpty -> IO (Either ResponseError ())
- data Async a
- addAsync :: Ldap -> Dn -> AttrList NonEmpty -> IO (Async ())
- addAsyncSTM :: Ldap -> Dn -> AttrList NonEmpty -> STM (Async ())
- wait :: Async a -> IO (Either ResponseError a)
- waitSTM :: Async a -> STM (Either ResponseError a)
Documentation
add :: Ldap -> Dn -> AttrList NonEmpty -> IO () Source
Perform the Add operation synchronously. Raises ResponseError on failures.
addEither :: Ldap -> Dn -> AttrList NonEmpty -> IO (Either ResponseError ()) Source
Perform the Add operation synchronously. Returns Left e where
- e is a ResponseError on failures.
addAsync :: Ldap -> Dn -> AttrList NonEmpty -> IO (Async ()) Source
Perform the Add operation asynchronously. Call wait to wait
+
ldap-client-0.1.0: Pure Haskell LDAP Client Library
| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ldap.Client.Add
Description
Add operation.
This operation comes in four flavours:
- synchronous, exception throwing (
add) - synchronous, returning
EitherResponseError()(addEither) - asynchronous,
IObased (addAsync) - asynchronous,
STMbased (addAsyncSTM)
Of those, the first one (add) is probably the most useful for the typical usecase.
- add :: Ldap -> Dn -> AttrList NonEmpty -> IO ()
- addEither :: Ldap -> Dn -> AttrList NonEmpty -> IO (Either ResponseError ())
- addAsync :: Ldap -> Dn -> AttrList NonEmpty -> IO (Async ())
- addAsyncSTM :: Ldap -> Dn -> AttrList NonEmpty -> STM (Async ())
- data Async a
- wait :: Async a -> IO (Either ResponseError a)
- waitSTM :: Async a -> STM (Either ResponseError a)
Documentation
add :: Ldap -> Dn -> AttrList NonEmpty -> IO () Source
Perform the Add operation synchronously. Raises ResponseError on failures.
addEither :: Ldap -> Dn -> AttrList NonEmpty -> IO (Either ResponseError ()) Source
Perform the Add operation synchronously. Returns Left e where
+ e is a ResponseError on failures.
addAsync :: Ldap -> Dn -> AttrList NonEmpty -> IO (Async ()) Source
Perform the Add operation asynchronously. Call wait to wait
for its completion.
addAsyncSTM :: Ldap -> Dn -> AttrList NonEmpty -> STM (Async ()) Source
Perform the Add operation asynchronously.
Don't wait for its completion (with waitSTM) in the
- same transaction you've performed it in.
ldap-client-0.1.0: Pure Haskell LDAP Client Library
| 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.
- newtype Password = Password ByteString
- bind :: Ldap -> Dn -> Password -> IO ()
- bindEither :: Ldap -> Dn -> Password -> IO (Either ResponseError ())
- data Async a
- bindAsync :: Ldap -> Dn -> Password -> IO (Async ())
- bindAsyncSTM :: Ldap -> Dn -> Password -> STM (Async ())
- wait :: Async a -> IO (Either ResponseError a)
- waitSTM :: Async a -> STM (Either ResponseError a)
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.
bindAsync :: Ldap -> Dn -> Password -> IO (Async ()) Source
Perform the Bind operation asynchronously. Call wait to wait
+
ldap-client-0.1.0: Pure Haskell LDAP Client Library
| 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.
- newtype Password = Password ByteString
- bind :: Ldap -> Dn -> Password -> IO ()
- bindEither :: Ldap -> Dn -> Password -> IO (Either ResponseError ())
- bindAsync :: Ldap -> Dn -> Password -> IO (Async ())
- bindAsyncSTM :: Ldap -> Dn -> Password -> STM (Async ())
- data Async a
- wait :: Async a -> IO (Either ResponseError a)
- waitSTM :: Async a -> STM (Either ResponseError a)
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.
bindAsync :: Ldap -> Dn -> Password -> IO (Async ()) Source
Perform the Bind operation asynchronously. Call wait to wait
for its completion.
bindAsyncSTM :: Ldap -> Dn -> Password -> STM (Async ()) Source
Perform the Bind operation asynchronously.
Don't wait for its completion (with waitSTM) in the
- same transaction you've performed it in.
ldap-client-0.1.0: Pure Haskell LDAP Client Library
| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ldap.Client.Compare
Description
Compare operation.
This operation comes in four flavours:
- synchronous, exception throwing (
compare) - synchronous, returning
EitherResponseError()(compareEither) - asynchronous,
IObased (compareAsync) - asynchronous,
STMbased (compareAsyncSTM)
Of those, the first one (compare) is probably the most useful for the
- typical usecase.
- compare :: Ldap -> Dn -> Attr -> AttrValue -> IO Bool
- compareEither :: Ldap -> Dn -> Attr -> AttrValue -> IO (Either ResponseError Bool)
- data Async a
- compareAsync :: Ldap -> Dn -> Attr -> AttrValue -> IO (Async Bool)
- compareAsyncSTM :: Ldap -> Dn -> Attr -> AttrValue -> STM (Async Bool)
- wait :: Async a -> IO (Either ResponseError a)
- waitSTM :: Async a -> STM (Either ResponseError a)
Documentation
compare :: Ldap -> Dn -> Attr -> AttrValue -> IO Bool Source
Perform the Compare operation synchronously. Raises ResponseError on failures.
compareEither :: Ldap -> Dn -> Attr -> AttrValue -> IO (Either ResponseError Bool) Source
Perform the Compare operation synchronously. Returns Left e where
- e is a ResponseError on failures.
compareAsync :: Ldap -> Dn -> Attr -> AttrValue -> IO (Async Bool) Source
Perform the Compare operation asynchronously. Call wait to wait
+ typical usecase.
- compare :: Ldap -> Dn -> Attr -> AttrValue -> IO Bool
- compareEither :: Ldap -> Dn -> Attr -> AttrValue -> IO (Either ResponseError Bool)
- compareAsync :: Ldap -> Dn -> Attr -> AttrValue -> IO (Async Bool)
- compareAsyncSTM :: Ldap -> Dn -> Attr -> AttrValue -> STM (Async Bool)
- data Async a
- wait :: Async a -> IO (Either ResponseError a)
- waitSTM :: Async a -> STM (Either ResponseError a)
Documentation
compare :: Ldap -> Dn -> Attr -> AttrValue -> IO Bool Source
Perform the Compare operation synchronously. Raises ResponseError on failures.
compareEither :: Ldap -> Dn -> Attr -> AttrValue -> IO (Either ResponseError Bool) Source
Perform the Compare operation synchronously. Returns Left e where
+ e is a ResponseError on failures.
compareAsync :: Ldap -> Dn -> Attr -> AttrValue -> IO (Async Bool) Source
Perform the Compare operation asynchronously. Call wait to wait
for its completion.
compareAsyncSTM :: Ldap -> Dn -> Attr -> AttrValue -> STM (Async Bool) Source
Perform the Compare operation asynchronously.
Don't wait for its completion (with waitSTM) in the
- same transaction you've performed it in.