soup.auth_manager
Module for [AuthManager] class
Types 3
HTTP client-side authentication handler.
#SoupAuthManager is the iface@SessionFeature that handles HTTP authentication for a class@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.)
AuthManager self()Returns `this`, for use in `with` statements.AuthManagerGidBuilder builder()Get builder for [soup.auth_manager.AuthManager] Returns: New builder objectvoid clearCachedCredentials()Clear all credentials cached by manager.void useAuth(glib.uri.Uri uri, soup.auth.Auth auth)Records that auth is to be used under uri, as though a WWW-Authenticate header had been received at that URI.Fluent builder for [soup.auth_manager.AuthManager]