[libsoup] Remove deprecated SoupAuth API
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Remove deprecated SoupAuth API
- Date: Sat, 19 Sep 2020 22:41:56 +0000 (UTC)
commit 45d09b6de69e35cf4ab2a260454a581dd7a6bded
Author: Patrick Griffis <pgriffis igalia com>
Date: Tue Jan 28 22:53:00 2020 -0800
Remove deprecated SoupAuth API
docs/reference/libsoup-2.4-sections.txt | 5 -----
libsoup/soup-auth.c | 29 -----------------------------
libsoup/soup-auth.h | 19 -------------------
3 files changed, 53 deletions(-)
---
diff --git a/docs/reference/libsoup-2.4-sections.txt b/docs/reference/libsoup-2.4-sections.txt
index fea9d08e..d89dcf50 100644
--- a/docs/reference/libsoup-2.4-sections.txt
+++ b/docs/reference/libsoup-2.4-sections.txt
@@ -629,11 +629,6 @@ soup_auth_basic_get_type
soup_auth_digest_get_type
soup_auth_ntlm_get_type
soup_auth_negotiate_get_type
-<SUBSECTION Private>
-soup_auth_get_saved_password
-soup_auth_get_saved_users
-soup_auth_has_saved_password
-soup_auth_save_password
</SECTION>
<SECTION>
diff --git a/libsoup/soup-auth.c b/libsoup/soup-auth.c
index 1896aab7..2ba75e23 100644
--- a/libsoup/soup-auth.c
+++ b/libsoup/soup-auth.c
@@ -552,32 +552,3 @@ soup_auth_free_protection_space (SoupAuth *auth, GSList *space)
{
g_slist_free_full (space, g_free);
}
-
-/**
- * soup_auth_get_saved_users:
- *
- * Return value: (transfer full) (element-type utf8):
- */
-GSList *
-soup_auth_get_saved_users (SoupAuth *auth)
-{
- return NULL;
-}
-
-const char *
-soup_auth_get_saved_password (SoupAuth *auth, const char *user)
-{
- return NULL;
-}
-
-void
-soup_auth_has_saved_password (SoupAuth *auth, const char *username,
- const char *password)
-{
-}
-
-void
-soup_auth_save_password (SoupAuth *auth, const char *username,
- const char *password)
-{
-}
diff --git a/libsoup/soup-auth.h b/libsoup/soup-auth.h
index 86a829b4..523ba766 100644
--- a/libsoup/soup-auth.h
+++ b/libsoup/soup-auth.h
@@ -122,25 +122,6 @@ GType soup_auth_ntlm_get_type (void);
SOUP_AVAILABLE_IN_2_54
GType soup_auth_negotiate_get_type (void);
-/* Deprecated SoupPasswordManager-related APIs: all are now no-ops */
-SOUP_AVAILABLE_IN_2_28
-SOUP_DEPRECATED_IN_2_28
-GSList *soup_auth_get_saved_users (SoupAuth *auth);
-SOUP_AVAILABLE_IN_2_28
-SOUP_DEPRECATED_IN_2_28
-const char *soup_auth_get_saved_password (SoupAuth *auth,
- const char *user);
-SOUP_AVAILABLE_IN_2_28
-SOUP_DEPRECATED_IN_2_28
-void soup_auth_save_password (SoupAuth *auth,
- const char *username,
- const char *password);
-SOUP_AVAILABLE_IN_2_28
-SOUP_DEPRECATED_IN_2_28
-void soup_auth_has_saved_password (SoupAuth *auth,
- const char *username,
- const char *password);
-
SOUP_AVAILABLE_IN_2_54
gboolean soup_auth_negotiate_supported (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]