AuthManager


Object Hierarchy:

Object hierarchy for AuthManager

Description:

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

HTTP client-side authentication handler.

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

A [class@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@GObject.Type] in earlier releases.)


Namespace: Soup
Package: libsoup-3.0

Content:

Creation methods:

Methods:

Inherited Members: