Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype AuthDomainBasic = AuthDomainBasic (ManagedPtr AuthDomainBasic)
- class (GObject o, IsDescendantOf AuthDomainBasic o) => IsAuthDomainBasic o
- toAuthDomainBasic :: (MonadIO m, IsAuthDomainBasic o) => o -> m AuthDomainBasic
- authDomainBasicSetAuthCallback :: (HasCallStack, MonadIO m, IsAuthDomainBasic a) => a -> AuthDomainBasicAuthCallback -> m ()
- clearAuthDomainBasicAuthCallback :: (MonadIO m, IsAuthDomainBasic o) => o -> m ()
- constructAuthDomainBasicAuthCallback :: (IsAuthDomainBasic o, MonadIO m) => FunPtr C_AuthDomainBasicAuthCallback -> m (GValueConstruct o)
- getAuthDomainBasicAuthCallback :: (MonadIO m, IsAuthDomainBasic o) => o -> m (Maybe AuthDomainBasicAuthCallback_WithClosures)
- setAuthDomainBasicAuthCallback :: (MonadIO m, IsAuthDomainBasic o) => o -> FunPtr C_AuthDomainBasicAuthCallback -> m ()
- constructAuthDomainBasicAuthData :: (IsAuthDomainBasic o, MonadIO m) => Ptr () -> m (GValueConstruct o)
- getAuthDomainBasicAuthData :: (MonadIO m, IsAuthDomainBasic o) => o -> m (Ptr ())
- setAuthDomainBasicAuthData :: (MonadIO m, IsAuthDomainBasic o) => o -> Ptr () -> m ()
Exported types
newtype AuthDomainBasic Source #
Memory-managed wrapper type.
Instances
Eq AuthDomainBasic Source # | |
Defined in GI.Soup.Objects.AuthDomainBasic (==) :: AuthDomainBasic -> AuthDomainBasic -> Bool # (/=) :: AuthDomainBasic -> AuthDomainBasic -> Bool # | |
GObject AuthDomainBasic Source # | |
Defined in GI.Soup.Objects.AuthDomainBasic | |
ManagedPtrNewtype AuthDomainBasic Source # | |
Defined in GI.Soup.Objects.AuthDomainBasic | |
TypedObject AuthDomainBasic Source # | |
Defined in GI.Soup.Objects.AuthDomainBasic | |
HasParentTypes AuthDomainBasic Source # | |
Defined in GI.Soup.Objects.AuthDomainBasic | |
IsGValue (Maybe AuthDomainBasic) Source # | Convert |
Defined in GI.Soup.Objects.AuthDomainBasic gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe AuthDomainBasic -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe AuthDomainBasic) # | |
type ParentTypes AuthDomainBasic Source # | |
Defined in GI.Soup.Objects.AuthDomainBasic |
class (GObject o, IsDescendantOf AuthDomainBasic o) => IsAuthDomainBasic o Source #
Type class for types which can be safely cast to AuthDomainBasic
, for instance with toAuthDomainBasic
.
Instances
(GObject o, IsDescendantOf AuthDomainBasic o) => IsAuthDomainBasic o Source # | |
Defined in GI.Soup.Objects.AuthDomainBasic |
toAuthDomainBasic :: (MonadIO m, IsAuthDomainBasic o) => o -> m AuthDomainBasic Source #
Cast to AuthDomainBasic
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
accepts, addPath, bindProperty, bindPropertyFull, challenge, checkPassword, covers, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, removePath, runDispose, stealData, stealQdata, thawNotify, tryGenericAuthCallback, unref, watchClosure.
Getters
getData, getProperty, getQdata, getRealm.
Setters
setAuthCallback, setData, setDataFull, setFilter, setGenericAuthCallback, setProperty.
setAuthCallback
authDomainBasicSetAuthCallback Source #
:: (HasCallStack, MonadIO m, IsAuthDomainBasic a) | |
=> a |
|
-> AuthDomainBasicAuthCallback |
|
-> m () |
Sets the callback that domain
will use to authenticate incoming
requests. For each request containing authorization, domain
will
invoke the callback, and then either accept or reject the request
based on callback
's return value.
You can also set the auth callback by setting the
AUTH_DOMAIN_BASIC_AUTH_CALLBACK
and
AUTH_DOMAIN_BASIC_AUTH_DATA
properties, which can also be
used to set the callback at construct time.
Properties
authCallback
clearAuthDomainBasicAuthCallback :: (MonadIO m, IsAuthDomainBasic o) => o -> m () Source #
Set the value of the “auth-callback
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#authCallback
constructAuthDomainBasicAuthCallback :: (IsAuthDomainBasic o, MonadIO m) => FunPtr C_AuthDomainBasicAuthCallback -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “auth-callback
” property. This is rarely needed directly, but it is used by new
.
getAuthDomainBasicAuthCallback :: (MonadIO m, IsAuthDomainBasic o) => o -> m (Maybe AuthDomainBasicAuthCallback_WithClosures) Source #
Get the value of the “auth-callback
” property.
When overloading is enabled, this is equivalent to
get
authDomainBasic #authCallback
setAuthDomainBasicAuthCallback :: (MonadIO m, IsAuthDomainBasic o) => o -> FunPtr C_AuthDomainBasicAuthCallback -> m () Source #
Set the value of the “auth-callback
” property.
When overloading is enabled, this is equivalent to
set
authDomainBasic [ #authCallback:=
value ]
authData
The data to pass to the AuthDomainBasicAuthCallback
constructAuthDomainBasicAuthData :: (IsAuthDomainBasic o, MonadIO m) => Ptr () -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “auth-data
” property. This is rarely needed directly, but it is used by new
.
getAuthDomainBasicAuthData :: (MonadIO m, IsAuthDomainBasic o) => o -> m (Ptr ()) Source #
Get the value of the “auth-data
” property.
When overloading is enabled, this is equivalent to
get
authDomainBasic #authData
setAuthDomainBasicAuthData :: (MonadIO m, IsAuthDomainBasic o) => o -> Ptr () -> m () Source #
Set the value of the “auth-data
” property.
When overloading is enabled, this is equivalent to
set
authDomainBasic [ #authData:=
value ]