GObject.Object
Soup.Auth
Import line: | Soup = imports.gi.Soup; |
GIR File: | Soup-2.4.gir |
C documentation: | SoupAuth |
Class : | Auth |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
host : String
|
Soup.Auth | |
is_authenticated : Boolean
read only
|
Soup.Auth | |
is_for_proxy : Boolean
|
Soup.Auth | |
parent : GObject.Object
read only
|
Soup.Auth | |
realm : String
|
Soup.Auth | |
realm : String
read only
|
Soup.Auth | |
scheme_name : String
read only
|
Soup.Auth |
Method / Constructor | Defined By | |
---|---|---|
new Soup.Auth
(Object properties)
Create a new Soup.Auth
Create a new Soup.Auth
|
||
Create a new Soup.Auth
Create a new Soup.Auth
|
||
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 | |
response to.
response to. 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.) 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
()
:
Boolean
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
()
:
Boolean
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 | |
ntlm_get_password
()
:
String
|
Soup.Auth | |
ntlm_get_username
()
:
String
|
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 |
Class / Namespace | Method / Signal / Properties |
---|---|
Soup.AuthManager
Signal |
|
Soup.AuthManager
Method |
|
Soup.Message
Method |
set_auth
(Auth auth)
:
none
Sets msg to authenticate to its destination using auth, which must have already been fully authenticated.
|
Soup.Message
Method |
get_auth
()
:
Soup.Auth
Gets the SoupAuth used by msg for authentication.
|
Soup.Message
Method |
set_proxy_auth
(Auth auth)
:
none
Sets msg to authenticate to its proxy using auth, which must have already been fully authenticated.
|
Soup.Message
Method |
get_proxy_auth
()
:
Soup.Auth
Gets the SoupAuth used by msg for authentication to its proxy.
|
Soup.Session
Signal |
|