Class AuthManager

java.lang.Object
All Implemented Interfaces:
Proxy, SessionFeature

@Generated("io.github.jwharm.JavaGI") public final class AuthManager extends GObject implements SessionFeature
HTTP client-side authentication handler.

SoupAuthManager is the SessionFeature that handles HTTP authentication for a 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 Session.removeFeatureByType(org.gnome.glib.Type) or disable it on individual requests with Message.disableFeature(org.gnome.glib.Type).

You can use this with Session.removeFeatureByType(org.gnome.glib.Type) or Message.disableFeature(org.gnome.glib.Type).

(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 GObject.Type in earlier releases.)