[gnome-online-accounts] doc: Clarify that is_password_node saves the user's password



commit 784c6ef74c940a9c10f6287f25e32f8f0458bc12
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Dec 20 17:08:50 2013 +0100

    doc: Clarify that is_password_node saves the user's password
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704564

 src/goabackend/goaoauth2provider.c |    5 ++++-
 src/goabackend/goaoauthprovider.c  |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/goabackend/goaoauth2provider.c b/src/goabackend/goaoauth2provider.c
index e8a27fd..53f0d8b 100644
--- a/src/goabackend/goaoauth2provider.c
+++ b/src/goabackend/goaoauth2provider.c
@@ -184,7 +184,10 @@ goa_oauth2_provider_is_password_node_default (GoaOAuth2Provider *provider, WebKi
  * @element: A WebKitDOMHTMLInputElement
  *
  * Checks whether @element is the HTML UI element that the user can
- * use to enter her password.
+ * use to enter her password. This can be used to offer a
+ * #GoaPasswordBased interface by saving the user's
+ * password. Providers usually frown upon doing this, so this is not
+ * recommended.
  *
  * This is a virtual method where the default implementation returns
  * %FALSE.
diff --git a/src/goabackend/goaoauthprovider.c b/src/goabackend/goaoauthprovider.c
index 1a334a1..1fccf22 100644
--- a/src/goabackend/goaoauthprovider.c
+++ b/src/goabackend/goaoauthprovider.c
@@ -165,7 +165,10 @@ goa_oauth_provider_is_password_node_default (GoaOAuthProvider *provider, WebKitD
  * @element: A WebKitDOMHTMLInputElement
  *
  * Checks whether @element is the HTML UI element that the user can
- * use to enter her password.
+ * use to enter her password. This can be used to offer a
+ * #GoaPasswordBased interface by saving the user's
+ * password. Providers usually frown upon doing this, so this is not
+ * recommended.
  *
  * This is a virtual method where the default implementation returns
  * %FALSE.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]