| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gio.Objects.DBusAuthObserver
Contents
Description
- newtype DBusAuthObserver = DBusAuthObserver (ManagedPtr DBusAuthObserver)
- class GObject o => IsDBusAuthObserver o
- toDBusAuthObserver :: IsDBusAuthObserver o => o -> IO DBusAuthObserver
- noDBusAuthObserver :: Maybe DBusAuthObserver
- data DBusAuthObserverAllowMechanismMethodInfo
- dBusAuthObserverAllowMechanism :: (MonadIO m, IsDBusAuthObserver a) => a -> Text -> m Bool
- data DBusAuthObserverAuthorizeAuthenticatedPeerMethodInfo
- dBusAuthObserverAuthorizeAuthenticatedPeer :: (MonadIO m, IsDBusAuthObserver a, IsIOStream b, IsCredentials c) => a -> b -> Maybe c -> m Bool
- dBusAuthObserverNew :: MonadIO m => m DBusAuthObserver
- type C_DBusAuthObserverAllowMechanismCallback = Ptr () -> CString -> Ptr () -> IO CInt
- type DBusAuthObserverAllowMechanismCallback = Text -> IO Bool
- data DBusAuthObserverAllowMechanismSignalInfo
- afterDBusAuthObserverAllowMechanism :: (GObject a, MonadIO m) => a -> DBusAuthObserverAllowMechanismCallback -> m SignalHandlerId
- genClosure_DBusAuthObserverAllowMechanism :: DBusAuthObserverAllowMechanismCallback -> IO Closure
- mk_DBusAuthObserverAllowMechanismCallback :: C_DBusAuthObserverAllowMechanismCallback -> IO (FunPtr C_DBusAuthObserverAllowMechanismCallback)
- noDBusAuthObserverAllowMechanismCallback :: Maybe DBusAuthObserverAllowMechanismCallback
- onDBusAuthObserverAllowMechanism :: (GObject a, MonadIO m) => a -> DBusAuthObserverAllowMechanismCallback -> m SignalHandlerId
- wrap_DBusAuthObserverAllowMechanismCallback :: DBusAuthObserverAllowMechanismCallback -> Ptr () -> CString -> Ptr () -> IO CInt
- type C_DBusAuthObserverAuthorizeAuthenticatedPeerCallback = Ptr () -> Ptr IOStream -> Ptr Credentials -> Ptr () -> IO CInt
- type DBusAuthObserverAuthorizeAuthenticatedPeerCallback = IOStream -> Maybe Credentials -> IO Bool
- data DBusAuthObserverAuthorizeAuthenticatedPeerSignalInfo
- afterDBusAuthObserverAuthorizeAuthenticatedPeer :: (GObject a, MonadIO m) => a -> DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> m SignalHandlerId
- genClosure_DBusAuthObserverAuthorizeAuthenticatedPeer :: DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> IO Closure
- mk_DBusAuthObserverAuthorizeAuthenticatedPeerCallback :: C_DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> IO (FunPtr C_DBusAuthObserverAuthorizeAuthenticatedPeerCallback)
- noDBusAuthObserverAuthorizeAuthenticatedPeerCallback :: Maybe DBusAuthObserverAuthorizeAuthenticatedPeerCallback
- onDBusAuthObserverAuthorizeAuthenticatedPeer :: (GObject a, MonadIO m) => a -> DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> m SignalHandlerId
- wrap_DBusAuthObserverAuthorizeAuthenticatedPeerCallback :: DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> Ptr () -> Ptr IOStream -> Ptr Credentials -> Ptr () -> IO CInt
Exported types
newtype DBusAuthObserver Source #
Constructors
| DBusAuthObserver (ManagedPtr DBusAuthObserver) |
Instances
| GObject DBusAuthObserver Source # | |
| IsObject DBusAuthObserver Source # | |
| IsDBusAuthObserver DBusAuthObserver Source # | |
| ((~) * info (ResolveDBusAuthObserverMethod t DBusAuthObserver), MethodInfo * info DBusAuthObserver p) => IsLabel t (DBusAuthObserver -> p) Source # | |
| ((~) * info (ResolveDBusAuthObserverMethod t DBusAuthObserver), MethodInfo * info DBusAuthObserver p) => IsLabelProxy t (DBusAuthObserver -> p) Source # | |
| HasAttributeList * DBusAuthObserver Source # | |
| type SignalList DBusAuthObserver Source # | |
| type AttributeList DBusAuthObserver Source # | |
class GObject o => IsDBusAuthObserver o Source #
Instances
| (GObject a, UnknownAncestorError Constraint DBusAuthObserver a) => IsDBusAuthObserver a Source # | |
| IsDBusAuthObserver DBusAuthObserver Source # | |
toDBusAuthObserver :: IsDBusAuthObserver o => o -> IO DBusAuthObserver Source #
Methods
allowMechanism
data DBusAuthObserverAllowMechanismMethodInfo Source #
Instances
| ((~) * signature (Text -> m Bool), MonadIO m, IsDBusAuthObserver a) => MethodInfo * DBusAuthObserverAllowMechanismMethodInfo a signature Source # | |
dBusAuthObserverAllowMechanism :: (MonadIO m, IsDBusAuthObserver a) => a -> Text -> m Bool Source #
authorizeAuthenticatedPeer
data DBusAuthObserverAuthorizeAuthenticatedPeerMethodInfo Source #
Instances
| ((~) * signature (b -> Maybe c -> m Bool), MonadIO m, IsDBusAuthObserver a, IsIOStream b, IsCredentials c) => MethodInfo * DBusAuthObserverAuthorizeAuthenticatedPeerMethodInfo a signature Source # | |
dBusAuthObserverAuthorizeAuthenticatedPeer :: (MonadIO m, IsDBusAuthObserver a, IsIOStream b, IsCredentials c) => a -> b -> Maybe c -> m Bool Source #
new
dBusAuthObserverNew :: MonadIO m => m DBusAuthObserver Source #
Signals
allowMechanism
type DBusAuthObserverAllowMechanismCallback = Text -> IO Bool Source #
data DBusAuthObserverAllowMechanismSignalInfo Source #
Instances
| SignalInfo DBusAuthObserverAllowMechanismSignalInfo Source # | |
| type HaskellCallbackType DBusAuthObserverAllowMechanismSignalInfo Source # | |
afterDBusAuthObserverAllowMechanism :: (GObject a, MonadIO m) => a -> DBusAuthObserverAllowMechanismCallback -> m SignalHandlerId Source #
genClosure_DBusAuthObserverAllowMechanism :: DBusAuthObserverAllowMechanismCallback -> IO Closure Source #
mk_DBusAuthObserverAllowMechanismCallback :: C_DBusAuthObserverAllowMechanismCallback -> IO (FunPtr C_DBusAuthObserverAllowMechanismCallback) Source #
onDBusAuthObserverAllowMechanism :: (GObject a, MonadIO m) => a -> DBusAuthObserverAllowMechanismCallback -> m SignalHandlerId Source #
wrap_DBusAuthObserverAllowMechanismCallback :: DBusAuthObserverAllowMechanismCallback -> Ptr () -> CString -> Ptr () -> IO CInt Source #
authorizeAuthenticatedPeer
type C_DBusAuthObserverAuthorizeAuthenticatedPeerCallback = Ptr () -> Ptr IOStream -> Ptr Credentials -> Ptr () -> IO CInt Source #
type DBusAuthObserverAuthorizeAuthenticatedPeerCallback = IOStream -> Maybe Credentials -> IO Bool Source #
data DBusAuthObserverAuthorizeAuthenticatedPeerSignalInfo Source #
Instances
| SignalInfo DBusAuthObserverAuthorizeAuthenticatedPeerSignalInfo Source # | |
| type HaskellCallbackType DBusAuthObserverAuthorizeAuthenticatedPeerSignalInfo Source # | |
afterDBusAuthObserverAuthorizeAuthenticatedPeer :: (GObject a, MonadIO m) => a -> DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> m SignalHandlerId Source #
genClosure_DBusAuthObserverAuthorizeAuthenticatedPeer :: DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> IO Closure Source #
mk_DBusAuthObserverAuthorizeAuthenticatedPeerCallback :: C_DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> IO (FunPtr C_DBusAuthObserverAuthorizeAuthenticatedPeerCallback) Source #
noDBusAuthObserverAuthorizeAuthenticatedPeerCallback :: Maybe DBusAuthObserverAuthorizeAuthenticatedPeerCallback Source #
onDBusAuthObserverAuthorizeAuthenticatedPeer :: (GObject a, MonadIO m) => a -> DBusAuthObserverAuthorizeAuthenticatedPeerCallback -> m SignalHandlerId Source #