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 |
HTTP-based GSS-Negotiate authentication, as defined by RFC 4559.
- class
session
- s do not support this type by default; if you want to
enable support for it, call [method
session
.add_feature_by_type], passingSOUP_TYPE_AUTH_NEGOTIATE
.
This auth type will only work if libsoup was compiled with GSSAPI
support; you can check AuthNegotiate.supported
to see if it
was.
Synopsis
- newtype AuthNegotiate = AuthNegotiate (ManagedPtr AuthNegotiate)
- class (GObject o, IsDescendantOf AuthNegotiate o) => IsAuthNegotiate o
- toAuthNegotiate :: (MonadIO m, IsAuthNegotiate o) => o -> m AuthNegotiate
- authNegotiateSupported :: (HasCallStack, MonadIO m) => m Bool
Exported types
newtype AuthNegotiate Source #
Memory-managed wrapper type.
AuthNegotiate (ManagedPtr AuthNegotiate) |
Instances
Eq AuthNegotiate Source # | |
Defined in GI.Soup.Objects.AuthNegotiate (==) :: AuthNegotiate -> AuthNegotiate -> Bool # (/=) :: AuthNegotiate -> AuthNegotiate -> Bool # | |
GObject AuthNegotiate Source # | |
Defined in GI.Soup.Objects.AuthNegotiate | |
ManagedPtrNewtype AuthNegotiate Source # | |
Defined in GI.Soup.Objects.AuthNegotiate toManagedPtr :: AuthNegotiate -> ManagedPtr AuthNegotiate | |
TypedObject AuthNegotiate Source # | |
Defined in GI.Soup.Objects.AuthNegotiate | |
HasParentTypes AuthNegotiate Source # | |
Defined in GI.Soup.Objects.AuthNegotiate | |
IsGValue (Maybe AuthNegotiate) Source # | Convert |
Defined in GI.Soup.Objects.AuthNegotiate gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe AuthNegotiate -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe AuthNegotiate) | |
type ParentTypes AuthNegotiate Source # | |
Defined in GI.Soup.Objects.AuthNegotiate |
class (GObject o, IsDescendantOf AuthNegotiate o) => IsAuthNegotiate o Source #
Type class for types which can be safely cast to AuthNegotiate
, for instance with toAuthNegotiate
.
Instances
(GObject o, IsDescendantOf AuthNegotiate o) => IsAuthNegotiate o Source # | |
Defined in GI.Soup.Objects.AuthNegotiate |
toAuthNegotiate :: (MonadIO m, IsAuthNegotiate o) => o -> m AuthNegotiate Source #
Cast to AuthNegotiate
, 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
authenticate, bindProperty, bindPropertyFull, canAuthenticate, cancel, forceFloating, freezeNotify, getv, isAuthenticated, isCancelled, isFloating, isForProxy, isReady, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, update, watchClosure.
Getters
getAuthority, getAuthorization, getData, getInfo, getProperty, getProtectionSpace, getQdata, getRealm, getSchemeName.
Setters
supported
authNegotiateSupported Source #
:: (HasCallStack, MonadIO m) | |
=> m Bool |
Indicates whether libsoup was built with GSSAPI support.
If this is False
, SOUP_TYPE_AUTH_NEGOTIATE
will still be defined and can
still be added to a [classsession
], but libsoup will never attempt to
actually use this auth type.