AuthDomain
Object Hierarchy:
Description:
[ CCode ( type_id = "soup_auth_domain_get_type ()" ) ]
public abstract class AuthDomain : Object
Content:
Properties:
Creation methods:
Methods:
- public virtual string accepts (Message msg, string header)
- public string? accepts_authorization (Message msg)
Checks if msg
contains appropriate authorization for
this to accept it.
- public void add_path (string path)
Adds path
to this, such
that requests under path
on this's server will require authentication (unless
overridden by remove_path or
set_filter).
- public virtual string challenge (Message msg)
Adds a "WWW-Authenticate" or "Proxy-Authenticate" header to msg
, requesting that the client authenticate, and sets msg
's status accordingly.
- public virtual bool check_password (Message msg, string username, string password)
Checks if msg
authenticates to
this via username
and password
.
- public bool covers (Message msg)
Checks if this requires msg
to be authenticated (according to its paths and filter function).
- public unowned string get_realm ()
Gets the realm name associated with this
- public void remove_path (string path)
Removes path
from this,
such that requests under path
on this's server will NOT require authentication.
- public void set_filter (owned AuthDomainFilter filter)
Adds filter
as an authentication filter to
this.
- public void set_generic_auth_callback (owned AuthDomainGenericAuthCallback auth_callback)
Sets auth_callback
as an authentication-handling callback
for this.
- public bool try_generic_auth_callback (Message msg, string username)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref