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 [ [email protected]_feature_by_type] or disable it on individual requests with [[email protected]_feature].

You can use this with [[email protected]_feature_by_type] or [[email protected]_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 [[email protected]] in earlier releases.)


Namespace: Soup
Package: libsoup-3.0

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object



2022 vala-language.org