summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-07-14 18:23:57 +0200
committerTimm Bäder <mail@baedert.org>2016-07-14 18:30:32 +0200
commitcbd0e5f75dd2348a79ee436f65f05bdf8edd43e5 (patch)
tree318f25199fc19340cefeb4add2c45c8b499233ef
parentb11a1664cd4dfcc62b07b4a68adc220fd1eb8305 (diff)
downloadlibrest-wip/baedert/gtask2.tar.gz
oauth-proxy: Add docs for request_token_finishwip/baedert/gtask2
-rw-r--r--rest/oauth-proxy.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/rest/oauth-proxy.c b/rest/oauth-proxy.c
index ca0304a..f8c0053 100644
--- a/rest/oauth-proxy.c
+++ b/rest/oauth-proxy.c
@@ -390,6 +390,17 @@ oauth_proxy_request_token_async (OAuthProxy *proxy,
g_object_unref (call);
}
+/**
+ * oauth_proxy_request_token_finish:
+ * @proxy: a #OAuthProxy
+ * @result: a #GAsyncResult
+ * @error: a #GError or %NULL
+ *
+ * Finishes an operation started with oauth_proxy_request_token_async()
+ *
+ * Returns: %TRUE on success, %FALSE if an error occurred, in which case
+ * @error will be set.
+ */
gboolean
oauth_proxy_request_token_finish (OAuthProxy *proxy,
GAsyncResult *result,