GObject.Object
Soup.Auth
Soup.AuthBasic
Import line: | Soup = imports.gi.Soup; |
GIR File: | Soup-2.4.gir |
C documentation: | SoupAuthBasic |
Class : | AuthBasic |
Extends: | Soup.Auth |
Properties | Defined By | |
---|---|---|
host : String
|
Soup.Auth | |
is_authenticated : gboolean
read only
|
Soup.Auth | |
is_for_proxy : gboolean
|
Soup.Auth | |
parent : GObject.Object
read only
|
Soup.Auth | |
realm : String
|
Soup.Auth | |
scheme_name : String
read only
|
Soup.Auth |
Method / Constructor | Defined By | |
---|---|---|
new Soup.AuthBasic
(Object properties)
Create a new Soup.AuthBasic
Create a new Soup.AuthBasic
|
||
Call this on an auth to authenticate it; normally this will cause
the auth's message to be requeued with the new authentication info.
Call this on an auth to authenticate it; normally this will cause
the auth's message to be requeued with the new authentication info. This does not cause the password to be saved to persistent storage; see soup_auth_save_password() for that.
|
Soup.Auth | |
Generates an appropriate "Authorization" header for msg.
Generates an appropriate "Authorization" header for msg. (The
session will only call this if soup_auth_is_authenticated() returned TRUE.)
|
Soup.Auth | |
get_host
()
:
String
Returns the host that auth is associated with.
Returns the host that auth is associated with.
|
Soup.Auth | |
get_info
()
:
String
Gets an opaque identifier for auth, for use as a hash key or the
like.
Gets an opaque identifier for auth, for use as a hash key or the
like. SoupAuth objects from the same server with the same identifier refer to the same authentication domain (eg, the URLs associated with them take the same usernames and passwords).
|
Soup.Auth | |
Returns a list of paths on the server which auth extends over.
Returns a list of paths on the server which auth extends over.
(All subdirectories of these paths are also assumed to be part of auth's protection space, unless otherwise discovered not to be.) paths, which can be freed with soup_auth_free_protection_space().
|
Soup.Auth | |
get_realm
()
:
String
Returns auth's realm.
Returns auth's realm. This is an identifier that distinguishes
separate authentication spaces on a given server, and may be some string that is meaningful to the user. (Although it is probably not localized.)
|
Soup.Auth | |
get_scheme_name
()
:
String
Returns auth's scheme name.
Returns auth's scheme name. (Eg, "Basic", "Digest", or "NTLM")
|
Soup.Auth | |
is_authenticated
()
:
gboolean
Tests if auth has been given a username and password
Tests if auth has been given a username and password
|
Soup.Auth | |
is_for_proxy
()
:
gboolean
Tests whether or not auth is associated with a proxy server rather
than an "origin" server.
Tests whether or not auth is associated with a proxy server rather
than an "origin" server.
|
Soup.Auth | |
Updates auth with the information from msg and auth_header,
possibly un-authenticating it.
Updates auth with the information from msg and auth_header,
possibly un-authenticating it. As with soup_auth_new(), this is normally only used by SoupSession. unauthenticated) SoupAuth. FALSE if something about auth_params could not be parsed or incorporated into auth at all.
|
Soup.Auth |
Event | Defined By | |
---|---|---|
Soup.Auth |