| libsoup Reference Manual |
|---|
SoupAuth —
struct SoupAuth; SoupAuth* soup_auth_new_from_header_list (const GSList *header); const char* soup_auth_get_scheme_name (SoupAuth *auth); const char* soup_auth_get_realm (SoupAuth *auth); void soup_auth_authenticate (SoupAuth *auth, const char *username, const char *password); gboolean soup_auth_is_authenticated (SoupAuth *auth); char* soup_auth_get_authorization (SoupAuth *auth, SoupMessage *msg); GSList* soup_auth_get_protection_space (SoupAuth *auth, const SoupUri *source_uri); void soup_auth_free_protection_space (SoupAuth *auth, GSList *space);
GObject
+----SoupAuth
+----SoupAuthBasic
+----SoupAuthDigest
SoupAuth* soup_auth_new_from_header_list (const GSList *header);
| header : | |
| Returns : |
const char* soup_auth_get_scheme_name (SoupAuth *auth);
| auth : | |
| Returns : |
void soup_auth_authenticate (SoupAuth *auth, const char *username, const char *password);
| auth : | |
| username : | |
| password : |
char* soup_auth_get_authorization (SoupAuth *auth, SoupMessage *msg);
| auth : | |
| msg : | |
| Returns : |
GSList* soup_auth_get_protection_space (SoupAuth *auth, const SoupUri *source_uri);
| auth : | |
| source_uri : | |
| Returns : |
void soup_auth_free_protection_space (SoupAuth *auth, GSList *space);
| auth : | |
| space : |
| << SoupAddress | SoupAuthBasic >> |