libsoup-2.4 Reference Manual

Synopsis

public class Auth : Object  {
    public    weak string               host                      { get; construct } ;
    public    weak bool                 is_authenticated          { get; } ;
    public    weak bool                 is_for_proxy              { get; construct } ;
    public    weak string               realm                     { get; construct } ;
    public    weak string               scheme_name               { get; } ;


    public                              Auth                      ( GLib.Type           type,
                                                                    Message             msg,
                                                                    string              auth_header ) ;


    public    void                      free_protection_space     ( GLib.SList          space ) ;
    public    weak string               get_host                  (  ) ;
    public    weak string               get_info                  (  ) ;
    public    weak string               get_realm                 (  ) ;
    public    weak string               get_scheme_name           (  ) ;
    public    virtual void              authenticate              ( string              username,
                                                                    string              password ) ;
    public    virtual weak string       get_authorization         ( Message             msg ) ;
    public    virtual weak GLib.SList   get_protection_space      ( URI                 source_uri ) ;
    public    virtual bool              update                    ( Message             msg,
                                                                    string              auth_header ) ;
}

Auth Description

Details

Constructor Details

Auth ()
    public                              Auth                      ( GLib.Type           type,
                                                                    Message             msg,
                                                                    string              auth_header ) ;		

Field Details

Signal Details

Property Details

host
    public    weak string               host                      { get; construct } ;		

is_authenticated
    public    weak bool                 is_authenticated          { get; } ;		

is_for_proxy
    public    weak bool                 is_for_proxy              { get; construct } ;		

realm
    public    weak string               realm                     { get; construct } ;		

scheme_name
    public    weak string               scheme_name               { get; } ;		

Method Details

free_protection_space ()
    public    void                      free_protection_space     ( GLib.SList          space ) ;		

get_host ()
    public    weak string               get_host                  (  ) ;		

get_info ()
    public    weak string               get_info                  (  ) ;		

get_realm ()
    public    weak string               get_realm                 (  ) ;		

get_scheme_name ()
    public    weak string               get_scheme_name           (  ) ;		

authenticate ()
    public    virtual void              authenticate              ( string              username,
                                                                    string              password ) ;		

get_authorization ()
    public    virtual weak string       get_authorization         ( Message             msg ) ;		

get_protection_space ()
    public    virtual weak GLib.SList   get_protection_space      ( URI                 source_uri ) ;		

update ()
    public    virtual bool              update                    ( Message             msg,
                                                                    string              auth_header ) ;		


Created by Valadoc