AuthManager


Object Hierarchy:

Soup.AuthManager Soup.AuthManager Soup.AuthManager GLib.Object GLib.Object GLib.Object->Soup.AuthManager Soup.SessionFeature Soup.SessionFeature Soup.SessionFeature->Soup.AuthManager

Description:

[ CCode ( type_id = "soup_auth_manager_get_type ()" ) ]
public sealed class AuthManager : Object, SessionFeature

HTTP client-side authentication handler.

AuthManager is the [iface@SessionFeature] that handles HTTP authentication for a [class@Session].

A AuthManager 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 [method@Session.remove_feature_by_type] or disable it on individual requests with [method@Message.disable_feature].

You can use this with [method@Session.remove_feature_by_type] or [method@Message.disable_feature].

(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.)


Namespace: Soup
Package: libsoup-3.0

Content:

Creation methods:

Methods:

Inherited Members: