gi-soup-3.0.3: Libsoup bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Soup.Objects.AuthNegotiate

Description

HTTP-based GSS-Negotiate authentication, as defined by RFC 4559.

classsession
s do not support this type by default; if you want to enable support for it, call [methodsession.add_feature_by_type], passing SOUP_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

Exported types

newtype AuthNegotiate Source #

Memory-managed wrapper type.

Constructors

AuthNegotiate (ManagedPtr AuthNegotiate) 

Instances

Instances details
Eq AuthNegotiate Source # 
Instance details

Defined in GI.Soup.Objects.AuthNegotiate

GObject AuthNegotiate Source # 
Instance details

Defined in GI.Soup.Objects.AuthNegotiate

ManagedPtrNewtype AuthNegotiate Source # 
Instance details

Defined in GI.Soup.Objects.AuthNegotiate

Methods

toManagedPtr :: AuthNegotiate -> ManagedPtr AuthNegotiate

TypedObject AuthNegotiate Source # 
Instance details

Defined in GI.Soup.Objects.AuthNegotiate

Methods

glibType :: IO GType

HasParentTypes AuthNegotiate Source # 
Instance details

Defined in GI.Soup.Objects.AuthNegotiate

IsGValue (Maybe AuthNegotiate) Source #

Convert AuthNegotiate to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Soup.Objects.AuthNegotiate

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe AuthNegotiate -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe AuthNegotiate)

type ParentTypes AuthNegotiate Source # 
Instance details

Defined in GI.Soup.Objects.AuthNegotiate

type ParentTypes AuthNegotiate = '[Auth, Object]

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

Instances details
(GObject o, IsDescendantOf AuthNegotiate o) => IsAuthNegotiate o Source # 
Instance details

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

supported

authNegotiateSupported Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Bool

Returns: True if supported otherwise False

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.