AuthNTLM

HTTP-based NTLM authentication.

class@Sessions do not support this type by default; if you want to enable support for it, call soup.session.Session.addFeatureByType, passing SOUP_TYPE_AUTH_NTLM.

class AuthNTLM : Auth {}

Inherited Members

From Auth

authenticate
void authenticate(string username, string password)

Call this on an auth to authenticate it.

canAuthenticate
bool canAuthenticate()

Tests if auth is able to authenticate by providing credentials to the soup.auth.Auth.authenticate.

cancel
void cancel()

Call this on an auth to cancel it.

getAuthority
string getAuthority()

Returns the authority (host:port) that auth is associated with.

getAuthorization
string getAuthorization(soup.message.Message msg)

Generates an appropriate "Authorization" header for msg.

getInfo
string getInfo()

Gets an opaque identifier for auth.

getProtectionSpace
string[] getProtectionSpace(glib.uri.Uri sourceUri)

Returns a list of paths on the server which auth extends over.

getRealm
string getRealm()

Returns auth's realm.

getSchemeName
string getSchemeName()
isAuthenticated
bool isAuthenticated()

Tests if auth has been given a username and password.

isCancelled
bool isCancelled()

Tests if auth has been cancelled

isForProxy
bool isForProxy()

Tests whether or not auth is associated with a proxy server rather than an "origin" server.

isReady
bool isReady(soup.message.Message msg)

Tests if auth is ready to make a request for msg with.

update
bool update(soup.message.Message msg, string authHeader)

Updates auth with the information from msg and auth_header, possibly un-authenticating it.