soup.auth_manager

Module for [AuthManager] class

Types 3

HTTP client-side authentication handler.

#SoupAuthManager is the soup.session_feature.SessionFeature that handles HTTP authentication for a soup.session.Session.

A #SoupAuthManager is added to the session by default, and normally you don't need to worry about it at all. However, if you want to disable HTTP authentication, you can remove the feature from the session with soup.session.Session.removeFeatureByType or disable it on individual requests with soup.message.Message.disableFeature.

You can use this with soup.session.Session.removeFeatureByType or soup.message.Message.disableFeature.

(Although this type has only been publicly visible since libsoup 2.42, it has always existed in the background, and you can use g_type_from_name ("SoupAuthManager") to get its alias@GLib.Type in earlier releases.)

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
AuthManager self() nothrowReturns `this`, for use in `with` statements.
AuthManagerGidBuilder builder() static nothrowGet builder for [soup.auth_manager.AuthManager] Returns: New builder object
void clearCachedCredentials() nothrowClear all credentials cached by manager.
void useAuth(glib.uri.Uri uri, soup.auth.Auth auth) nothrowRecords that auth is to be used under uri, as though a WWW-Authenticate header had been received at that URI.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
AuthManager build() nothrowCreate object from builder. Returns: New object