~ubuntu-branches/ubuntu/oneiric/gnome-online-accounts/oneiric-proposed

« back to all changes in this revision

Viewing changes to doc/html/GoaOAuthBased.html

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-07-05 12:02:49 UTC
  • Revision ID: james.westby@ubuntu.com-20110705120249-oor1x0rw69yjkii3
Tags: upstream-3.1.1
Import upstream version 3.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>GoaOAuthBased</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
 
7
<link rel="home" href="index.html" title="GNOME Online Accounts Reference Manual">
 
8
<link rel="up" href="ref-library-generated.html" title="Generated Code">
 
9
<link rel="prev" href="GoaAccount.html" title="GoaAccount">
 
10
<link rel="next" href="GoaOAuth2Based.html" title="GoaOAuth2Based">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="GoaAccount.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ref-library-generated.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">GNOME Online Accounts Reference Manual</th>
 
21
<td><a accesskey="n" href="GoaOAuth2Based.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#GoaOAuthBased.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#GoaOAuthBased.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#GoaOAuthBased.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#GoaOAuthBased.prerequisites" class="shortcut">Prerequisites</a>
 
31
                   | 
 
32
                  <a href="#GoaOAuthBased.properties" class="shortcut">Properties</a>
 
33
                   | 
 
34
                  <a href="#GoaOAuthBased.signals" class="shortcut">Signals</a>
 
35
</td></tr>
 
36
</table>
 
37
<div class="refentry">
 
38
<a name="GoaOAuthBased"></a><div class="titlepage"></div>
 
39
<div class="refnamediv"><table width="100%"><tr>
 
40
<td valign="top">
 
41
<h2><span class="refentrytitle"><a name="GoaOAuthBased.top_of_page"></a>GoaOAuthBased</span></h2>
 
42
<p>GoaOAuthBased — Generated C code for the org.gnome.OnlineAccounts.OAuthBased D-Bus interface</p>
 
43
</td>
 
44
<td valign="top" align="right"></td>
 
45
</tr></table></div>
 
46
<div class="refsynopsisdiv">
 
47
<a name="GoaOAuthBased.synopsis"></a><h2>Synopsis</h2>
 
48
<pre class="synopsis">                    <a class="link" href="GoaOAuthBased.html#GoaOAuthBased-struct" title="GoaOAuthBased">GoaOAuthBased</a>;
 
49
struct              <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedIface" title="struct GoaOAuthBasedIface">GoaOAuthBasedIface</a>;
 
50
<a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> * <a class="link" href="GoaOAuthBased.html#goa-oauth-based-interface-info" title="goa_oauth_based_interface_info ()">goa_oauth_based_interface_info</a>     (<em class="parameter"><code><span class="type">void</span></code></em>);
 
51
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GoaOAuthBased.html#goa-oauth-based-override-properties" title="goa_oauth_based_override_properties ()">goa_oauth_based_override_properties</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *klass</code></em>,
 
52
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id_begin</code></em>);
 
53
<span class="returnvalue">void</span>                <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token" title="goa_oauth_based_call_get_access_token ()">goa_oauth_based_call_get_access_token</a>
 
54
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *proxy</code></em>,
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
56
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
57
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
 
58
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token-finish" title="goa_oauth_based_call_get_access_token_finish ()">goa_oauth_based_call_get_access_token_finish</a>
 
59
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *proxy</code></em>,
 
60
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token</code></em>,
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token_secret</code></em>,
 
62
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *out_expires_in</code></em>,
 
63
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token-sync" title="goa_oauth_based_call_get_access_token_sync ()">goa_oauth_based_call_get_access_token_sync</a>
 
66
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *proxy</code></em>,
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token</code></em>,
 
68
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token_secret</code></em>,
 
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *out_expires_in</code></em>,
 
70
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
71
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
72
<span class="returnvalue">void</span>                <a class="link" href="GoaOAuthBased.html#goa-oauth-based-complete-get-access-token" title="goa_oauth_based_complete_get_access_token ()">goa_oauth_based_complete_get_access_token</a>
 
73
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>,
 
74
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>,
 
75
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *access_token</code></em>,
 
76
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *access_token_secret</code></em>,
 
77
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> expires_in</code></em>);
 
78
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GoaOAuthBased.html#goa-oauth-based-get-consumer-key" title="goa_oauth_based_get_consumer_key ()">goa_oauth_based_get_consumer_key</a>    (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>);
 
79
<span class="returnvalue">void</span>                <a class="link" href="GoaOAuthBased.html#goa-oauth-based-set-consumer-key" title="goa_oauth_based_set_consumer_key ()">goa_oauth_based_set_consumer_key</a>    (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>,
 
80
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
 
81
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GoaOAuthBased.html#goa-oauth-based-get-consumer-secret" title="goa_oauth_based_get_consumer_secret ()">goa_oauth_based_get_consumer_secret</a> (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>);
 
82
<span class="returnvalue">void</span>                <a class="link" href="GoaOAuthBased.html#goa-oauth-based-set-consumer-secret" title="goa_oauth_based_set_consumer_secret ()">goa_oauth_based_set_consumer_secret</a> (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>,
 
83
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
 
84
struct              <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedProxy" title="struct GoaOAuthBasedProxy">GoaOAuthBasedProxy</a>;
 
85
struct              <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedProxyClass" title="struct GoaOAuthBasedProxyClass">GoaOAuthBasedProxyClass</a>;
 
86
<span class="returnvalue">void</span>                <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new" title="goa_oauth_based_proxy_new ()">goa_oauth_based_proxy_new</a>           (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
 
87
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
88
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
89
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
90
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
91
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
92
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
 
93
<a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-finish" title="goa_oauth_based_proxy_new_finish ()">goa_oauth_based_proxy_new_finish</a>    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
94
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
95
<a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-sync" title="goa_oauth_based_proxy_new_sync ()">goa_oauth_based_proxy_new_sync</a>      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
 
96
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
97
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
98
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
99
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
100
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
101
<span class="returnvalue">void</span>                <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus" title="goa_oauth_based_proxy_new_for_bus ()">goa_oauth_based_proxy_new_for_bus</a>   (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
 
102
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
103
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
104
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
105
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
106
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
107
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
 
108
<a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus-finish" title="goa_oauth_based_proxy_new_for_bus_finish ()">goa_oauth_based_proxy_new_for_bus_finish</a>
 
109
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
110
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
111
<a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus-sync" title="goa_oauth_based_proxy_new_for_bus_sync ()">goa_oauth_based_proxy_new_for_bus_sync</a>
 
112
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
 
113
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
114
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
115
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
116
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
117
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
118
struct              <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedSkeleton" title="struct GoaOAuthBasedSkeleton">GoaOAuthBasedSkeleton</a>;
 
119
struct              <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedSkeletonClass" title="struct GoaOAuthBasedSkeletonClass">GoaOAuthBasedSkeletonClass</a>;
 
120
<a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     <a class="link" href="GoaOAuthBased.html#goa-oauth-based-skeleton-new" title="goa_oauth_based_skeleton_new ()">goa_oauth_based_skeleton_new</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
 
121
</pre>
 
122
</div>
 
123
<div class="refsect1">
 
124
<a name="GoaOAuthBased.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
125
<pre class="synopsis">
 
126
  GInterface
 
127
   +----GoaOAuthBased
 
128
</pre>
 
129
</div>
 
130
<div class="refsect1">
 
131
<a name="GoaOAuthBased.prerequisites"></a><h2>Prerequisites</h2>
 
132
<p>
 
133
GoaOAuthBased requires
 
134
 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
 
135
</div>
 
136
<div class="refsect1">
 
137
<a name="GoaOAuthBased.properties"></a><h2>Properties</h2>
 
138
<pre class="synopsis">
 
139
  "<a class="link" href="GoaOAuthBased.html#GoaOAuthBased--consumer-key" title='The "consumer-key" property'>consumer-key</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
140
  "<a class="link" href="GoaOAuthBased.html#GoaOAuthBased--consumer-secret" title='The "consumer-secret" property'>consumer-secret</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
141
</pre>
 
142
</div>
 
143
<div class="refsect1">
 
144
<a name="GoaOAuthBased.signals"></a><h2>Signals</h2>
 
145
<pre class="synopsis">
 
146
  "<a class="link" href="GoaOAuthBased.html#GoaOAuthBased-handle-get-access-token" title='The "handle-get-access-token" signal'>handle-get-access-token</a>"                        : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
 
147
</pre>
 
148
</div>
 
149
<div class="refsect1">
 
150
<a name="GoaOAuthBased.description"></a><h2>Description</h2>
 
151
<p>
 
152
This section contains code for working with the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.top_of_page">org.gnome.OnlineAccounts.OAuthBased</a> D-Bus interface in C.
 
153
</p>
 
154
</div>
 
155
<div class="refsect1">
 
156
<a name="GoaOAuthBased.details"></a><h2>Details</h2>
 
157
<div class="refsect2">
 
158
<a name="GoaOAuthBased-struct"></a><h3>GoaOAuthBased</h3>
 
159
<pre class="programlisting">typedef struct _GoaOAuthBased GoaOAuthBased;</pre>
 
160
<p>
 
161
Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.top_of_page">org.gnome.OnlineAccounts.OAuthBased</a>.
 
162
</p>
 
163
</div>
 
164
<hr>
 
165
<div class="refsect2">
 
166
<a name="GoaOAuthBasedIface"></a><h3>struct GoaOAuthBasedIface</h3>
 
167
<pre class="programlisting">struct GoaOAuthBasedIface {
 
168
  GTypeInterface parent_iface;
 
169
 
 
170
  gboolean (*handle_get_access_token) (
 
171
    GoaOAuthBased *object,
 
172
    GDBusMethodInvocation *invocation);
 
173
};
 
174
</pre>
 
175
<p>
 
176
Virtual table for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.top_of_page">org.gnome.OnlineAccounts.OAuthBased</a>.
 
177
</p>
 
178
<div class="variablelist"><table border="0">
 
179
<col align="left" valign="top">
 
180
<tbody>
 
181
<tr>
 
182
<td><p><span class="term"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GoaOAuthBasedIface.parent-iface"></a>parent_iface</code></em>;</span></p></td>
 
183
<td>The parent interface.</td>
 
184
</tr>
 
185
<tr>
 
186
<td><p><span class="term"><em class="structfield"><code><a name="GoaOAuthBasedIface.handle-get-access-token"></a>handle_get_access_token</code></em> ()</span></p></td>
 
187
<td>Handler for the <a class="link" href="GoaOAuthBased.html#GoaOAuthBased-handle-get-access-token" title='The "handle-get-access-token" signal'><span class="type">"handle-get-access-token"</span></a> signal.</td>
 
188
</tr>
 
189
</tbody>
 
190
</table></div>
 
191
</div>
 
192
<hr>
 
193
<div class="refsect2">
 
194
<a name="goa-oauth-based-interface-info"></a><h3>goa_oauth_based_interface_info ()</h3>
 
195
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> * goa_oauth_based_interface_info     (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
196
<p>
 
197
Gets a machine-readable description of the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.top_of_page">org.gnome.OnlineAccounts.OAuthBased</a> D-Bus interface.
 
198
</p>
 
199
<div class="variablelist"><table border="0">
 
200
<col align="left" valign="top">
 
201
<tbody><tr>
 
202
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
203
<td>A <a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>. Do not free. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
 
204
</td>
 
205
</tr></tbody>
 
206
</table></div>
 
207
</div>
 
208
<hr>
 
209
<div class="refsect2">
 
210
<a name="goa-oauth-based-override-properties"></a><h3>goa_oauth_based_override_properties ()</h3>
 
211
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               goa_oauth_based_override_properties (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *klass</code></em>,
 
212
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id_begin</code></em>);</pre>
 
213
<p>
 
214
Overrides all <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties in the <a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> interface for a concrete class.
 
215
The properties are overridden in the order they are defined.
 
216
</p>
 
217
<div class="variablelist"><table border="0">
 
218
<col align="left" valign="top">
 
219
<tbody>
 
220
<tr>
 
221
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
 
222
<td>The class structure for a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>-derived class.</td>
 
223
</tr>
 
224
<tr>
 
225
<td><p><span class="term"><em class="parameter"><code>property_id_begin</code></em> :</span></p></td>
 
226
<td>The property id to assign to the first overridden property.</td>
 
227
</tr>
 
228
<tr>
 
229
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
230
<td>The last property id.</td>
 
231
</tr>
 
232
</tbody>
 
233
</table></div>
 
234
</div>
 
235
<hr>
 
236
<div class="refsect2">
 
237
<a name="goa-oauth-based-call-get-access-token"></a><h3>goa_oauth_based_call_get_access_token ()</h3>
 
238
<pre class="programlisting"><span class="returnvalue">void</span>                goa_oauth_based_call_get_access_token
 
239
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *proxy</code></em>,
 
240
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
241
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
242
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
243
<p>
 
244
Asynchronously invokes the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-method-org-gnome-OnlineAccounts-OAuthBased.GetAccessToken" title="The GetAccessToken() method"><code class="function">GetAccessToken()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>.
 
245
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
 
246
You can then call <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token-finish" title="goa_oauth_based_call_get_access_token_finish ()"><code class="function">goa_oauth_based_call_get_access_token_finish()</code></a> to get the result of the operation.
 
247
</p>
 
248
<p>
 
249
See <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token-sync" title="goa_oauth_based_call_get_access_token_sync ()"><code class="function">goa_oauth_based_call_get_access_token_sync()</code></a> for the synchronous, blocking version of this method.
 
250
</p>
 
251
<div class="variablelist"><table border="0">
 
252
<col align="left" valign="top">
 
253
<tbody>
 
254
<tr>
 
255
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
256
<td>A <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedProxy" title="struct GoaOAuthBasedProxy"><span class="type">GoaOAuthBasedProxy</span></a>.</td>
 
257
</tr>
 
258
<tr>
 
259
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
260
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
261
</td>
 
262
</tr>
 
263
<tr>
 
264
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
265
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
 
266
</tr>
 
267
<tr>
 
268
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
269
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
 
270
</tr>
 
271
</tbody>
 
272
</table></div>
 
273
</div>
 
274
<hr>
 
275
<div class="refsect2">
 
276
<a name="goa-oauth-based-call-get-access-token-finish"></a><h3>goa_oauth_based_call_get_access_token_finish ()</h3>
 
277
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            goa_oauth_based_call_get_access_token_finish
 
278
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *proxy</code></em>,
 
279
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token</code></em>,
 
280
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token_secret</code></em>,
 
281
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *out_expires_in</code></em>,
 
282
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
283
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
284
<p>
 
285
Finishes an operation started with <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token" title="goa_oauth_based_call_get_access_token ()"><code class="function">goa_oauth_based_call_get_access_token()</code></a>.
 
286
</p>
 
287
<div class="variablelist"><table border="0">
 
288
<col align="left" valign="top">
 
289
<tbody>
 
290
<tr>
 
291
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
292
<td>A <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedProxy" title="struct GoaOAuthBasedProxy"><span class="type">GoaOAuthBasedProxy</span></a>.</td>
 
293
</tr>
 
294
<tr>
 
295
<td><p><span class="term"><em class="parameter"><code>out_access_token</code></em> :</span></p></td>
 
296
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
 
297
</td>
 
298
</tr>
 
299
<tr>
 
300
<td><p><span class="term"><em class="parameter"><code>out_access_token_secret</code></em> :</span></p></td>
 
301
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
 
302
</td>
 
303
</tr>
 
304
<tr>
 
305
<td><p><span class="term"><em class="parameter"><code>out_expires_in</code></em> :</span></p></td>
 
306
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
 
307
</td>
 
308
</tr>
 
309
<tr>
 
310
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
 
311
<td>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token" title="goa_oauth_based_call_get_access_token ()"><code class="function">goa_oauth_based_call_get_access_token()</code></a>.</td>
 
312
</tr>
 
313
<tr>
 
314
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
315
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
 
316
</tr>
 
317
<tr>
 
318
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
319
<td>
 
320
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
 
321
</td>
 
322
</tr>
 
323
</tbody>
 
324
</table></div>
 
325
</div>
 
326
<hr>
 
327
<div class="refsect2">
 
328
<a name="goa-oauth-based-call-get-access-token-sync"></a><h3>goa_oauth_based_call_get_access_token_sync ()</h3>
 
329
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            goa_oauth_based_call_get_access_token_sync
 
330
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *proxy</code></em>,
 
331
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token</code></em>,
 
332
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_access_token_secret</code></em>,
 
333
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *out_expires_in</code></em>,
 
334
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
335
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
336
<p>
 
337
Synchronously invokes the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-method-org-gnome-OnlineAccounts-OAuthBased.GetAccessToken" title="The GetAccessToken() method"><code class="function">GetAccessToken()</code></a> D-Bus method on <em class="parameter"><code>proxy</code></em>. The calling thread is blocked until a reply is received.
 
338
</p>
 
339
<p>
 
340
See <a class="link" href="GoaOAuthBased.html#goa-oauth-based-call-get-access-token" title="goa_oauth_based_call_get_access_token ()"><code class="function">goa_oauth_based_call_get_access_token()</code></a> for the asynchronous version of this method.
 
341
</p>
 
342
<div class="variablelist"><table border="0">
 
343
<col align="left" valign="top">
 
344
<tbody>
 
345
<tr>
 
346
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
347
<td>A <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedProxy" title="struct GoaOAuthBasedProxy"><span class="type">GoaOAuthBasedProxy</span></a>.</td>
 
348
</tr>
 
349
<tr>
 
350
<td><p><span class="term"><em class="parameter"><code>out_access_token</code></em> :</span></p></td>
 
351
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
 
352
</td>
 
353
</tr>
 
354
<tr>
 
355
<td><p><span class="term"><em class="parameter"><code>out_access_token_secret</code></em> :</span></p></td>
 
356
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
 
357
</td>
 
358
</tr>
 
359
<tr>
 
360
<td><p><span class="term"><em class="parameter"><code>out_expires_in</code></em> :</span></p></td>
 
361
<td>Return location for return parameter or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. <span class="annotation">[<a href="http://foldoc.org/out"><span class="acronym">out</span></a>]</span>
 
362
</td>
 
363
</tr>
 
364
<tr>
 
365
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
366
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
367
</td>
 
368
</tr>
 
369
<tr>
 
370
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
371
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
 
372
</tr>
 
373
<tr>
 
374
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
375
<td>
 
376
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call succeded, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[skip]</span>
 
377
</td>
 
378
</tr>
 
379
</tbody>
 
380
</table></div>
 
381
</div>
 
382
<hr>
 
383
<div class="refsect2">
 
384
<a name="goa-oauth-based-complete-get-access-token"></a><h3>goa_oauth_based_complete_get_access_token ()</h3>
 
385
<pre class="programlisting"><span class="returnvalue">void</span>                goa_oauth_based_complete_get_access_token
 
386
                                                        (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>,
 
387
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation</code></em>,
 
388
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *access_token</code></em>,
 
389
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *access_token_secret</code></em>,
 
390
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> expires_in</code></em>);</pre>
 
391
<p>
 
392
Helper function used in service implementations to finish handling invocations of the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-method-org-gnome-OnlineAccounts-OAuthBased.GetAccessToken" title="The GetAccessToken() method"><code class="function">GetAccessToken()</code></a> D-Bus method. If you instead want to finish handling an invocation by returning an error, use <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html#g-dbus-method-invocation-return-error"><code class="function">g_dbus_method_invocation_return_error()</code></a> or similar.
 
393
</p>
 
394
<p>
 
395
This method will free <em class="parameter"><code>invocation</code></em>, you cannot use it afterwards.
 
396
</p>
 
397
<div class="variablelist"><table border="0">
 
398
<col align="left" valign="top">
 
399
<tbody>
 
400
<tr>
 
401
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
402
<td>A <a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a>.</td>
 
403
</tr>
 
404
<tr>
 
405
<td><p><span class="term"><em class="parameter"><code>invocation</code></em> :</span></p></td>
 
406
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
 
407
</td>
 
408
</tr>
 
409
<tr>
 
410
<td><p><span class="term"><em class="parameter"><code>access_token</code></em> :</span></p></td>
 
411
<td>Parameter to return.</td>
 
412
</tr>
 
413
<tr>
 
414
<td><p><span class="term"><em class="parameter"><code>access_token_secret</code></em> :</span></p></td>
 
415
<td>Parameter to return.</td>
 
416
</tr>
 
417
<tr>
 
418
<td><p><span class="term"><em class="parameter"><code>expires_in</code></em> :</span></p></td>
 
419
<td>Parameter to return.</td>
 
420
</tr>
 
421
</tbody>
 
422
</table></div>
 
423
</div>
 
424
<hr>
 
425
<div class="refsect2">
 
426
<a name="goa-oauth-based-get-consumer-key"></a><h3>goa_oauth_based_get_consumer_key ()</h3>
 
427
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       goa_oauth_based_get_consumer_key    (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>);</pre>
 
428
<p>
 
429
Gets the value of the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-property-org-gnome-OnlineAccounts-OAuthBased.ConsumerKey" title='The "ConsumerKey" property'>"ConsumerKey"</a> D-Bus property.
 
430
</p>
 
431
<p>
 
432
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 
433
</p>
 
434
<div class="variablelist"><table border="0">
 
435
<col align="left" valign="top">
 
436
<tbody>
 
437
<tr>
 
438
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
439
<td>A <a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a>.</td>
 
440
</tr>
 
441
<tr>
 
442
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
443
<td>The property value. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
 
444
</td>
 
445
</tr>
 
446
</tbody>
 
447
</table></div>
 
448
</div>
 
449
<hr>
 
450
<div class="refsect2">
 
451
<a name="goa-oauth-based-set-consumer-key"></a><h3>goa_oauth_based_set_consumer_key ()</h3>
 
452
<pre class="programlisting"><span class="returnvalue">void</span>                goa_oauth_based_set_consumer_key    (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>,
 
453
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
 
454
<p>
 
455
Sets the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-property-org-gnome-OnlineAccounts-OAuthBased.ConsumerKey" title='The "ConsumerKey" property'>"ConsumerKey"</a> D-Bus property to <em class="parameter"><code>value</code></em>.
 
456
</p>
 
457
<p>
 
458
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 
459
</p>
 
460
<div class="variablelist"><table border="0">
 
461
<col align="left" valign="top">
 
462
<tbody>
 
463
<tr>
 
464
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
465
<td>A <a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a>.</td>
 
466
</tr>
 
467
<tr>
 
468
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
 
469
<td>The value to set.</td>
 
470
</tr>
 
471
</tbody>
 
472
</table></div>
 
473
</div>
 
474
<hr>
 
475
<div class="refsect2">
 
476
<a name="goa-oauth-based-get-consumer-secret"></a><h3>goa_oauth_based_get_consumer_secret ()</h3>
 
477
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       goa_oauth_based_get_consumer_secret (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>);</pre>
 
478
<p>
 
479
Gets the value of the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-property-org-gnome-OnlineAccounts-OAuthBased.ConsumerSecret" title='The "ConsumerSecret" property'>"ConsumerSecret"</a> D-Bus property.
 
480
</p>
 
481
<p>
 
482
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 
483
</p>
 
484
<div class="variablelist"><table border="0">
 
485
<col align="left" valign="top">
 
486
<tbody>
 
487
<tr>
 
488
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
489
<td>A <a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a>.</td>
 
490
</tr>
 
491
<tr>
 
492
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
493
<td>The property value. <span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
 
494
</td>
 
495
</tr>
 
496
</tbody>
 
497
</table></div>
 
498
</div>
 
499
<hr>
 
500
<div class="refsect2">
 
501
<a name="goa-oauth-based-set-consumer-secret"></a><h3>goa_oauth_based_set_consumer_secret ()</h3>
 
502
<pre class="programlisting"><span class="returnvalue">void</span>                goa_oauth_based_set_consumer_secret (<em class="parameter"><code><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a> *object</code></em>,
 
503
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
 
504
<p>
 
505
Sets the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-property-org-gnome-OnlineAccounts-OAuthBased.ConsumerSecret" title='The "ConsumerSecret" property'>"ConsumerSecret"</a> D-Bus property to <em class="parameter"><code>value</code></em>.
 
506
</p>
 
507
<p>
 
508
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 
509
</p>
 
510
<div class="variablelist"><table border="0">
 
511
<col align="left" valign="top">
 
512
<tbody>
 
513
<tr>
 
514
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
515
<td>A <a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a>.</td>
 
516
</tr>
 
517
<tr>
 
518
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
 
519
<td>The value to set.</td>
 
520
</tr>
 
521
</tbody>
 
522
</table></div>
 
523
</div>
 
524
<hr>
 
525
<div class="refsect2">
 
526
<a name="GoaOAuthBasedProxy"></a><h3>struct GoaOAuthBasedProxy</h3>
 
527
<pre class="programlisting">struct GoaOAuthBasedProxy {
 
528
};
 
529
</pre>
 
530
<p>
 
531
The <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedProxy" title="struct GoaOAuthBasedProxy"><span class="type">GoaOAuthBasedProxy</span></a> structure contains only private data and should only be accessed using the provided API.
 
532
</p>
 
533
</div>
 
534
<hr>
 
535
<div class="refsect2">
 
536
<a name="GoaOAuthBasedProxyClass"></a><h3>struct GoaOAuthBasedProxyClass</h3>
 
537
<pre class="programlisting">struct GoaOAuthBasedProxyClass {
 
538
  GDBusProxyClass parent_class;
 
539
};
 
540
</pre>
 
541
<p>
 
542
Class structure for <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedProxy" title="struct GoaOAuthBasedProxy"><span class="type">GoaOAuthBasedProxy</span></a>.
 
543
</p>
 
544
<div class="variablelist"><table border="0">
 
545
<col align="left" valign="top">
 
546
<tbody><tr>
 
547
<td><p><span class="term"><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyClass"><span class="type">GDBusProxyClass</span></a> <em class="structfield"><code><a name="GoaOAuthBasedProxyClass.parent-class"></a>parent_class</code></em>;</span></p></td>
 
548
<td>The parent class.</td>
 
549
</tr></tbody>
 
550
</table></div>
 
551
</div>
 
552
<hr>
 
553
<div class="refsect2">
 
554
<a name="goa-oauth-based-proxy-new"></a><h3>goa_oauth_based_proxy_new ()</h3>
 
555
<pre class="programlisting"><span class="returnvalue">void</span>                goa_oauth_based_proxy_new           (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
 
556
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
557
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
558
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
559
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
560
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
561
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
562
<p>
 
563
Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.top_of_page">org.gnome.OnlineAccounts.OAuthBased</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new"><code class="function">g_dbus_proxy_new()</code></a> for more details.
 
564
</p>
 
565
<p>
 
566
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
 
567
You can then call <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-finish" title="goa_oauth_based_proxy_new_finish ()"><code class="function">goa_oauth_based_proxy_new_finish()</code></a> to get the result of the operation.
 
568
</p>
 
569
<p>
 
570
See <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-sync" title="goa_oauth_based_proxy_new_sync ()"><code class="function">goa_oauth_based_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.
 
571
</p>
 
572
<div class="variablelist"><table border="0">
 
573
<col align="left" valign="top">
 
574
<tbody>
 
575
<tr>
 
576
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
 
577
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td>
 
578
</tr>
 
579
<tr>
 
580
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
 
581
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
 
582
</tr>
 
583
<tr>
 
584
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
 
585
<td>A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
586
</td>
 
587
</tr>
 
588
<tr>
 
589
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
 
590
<td>An object path.</td>
 
591
</tr>
 
592
<tr>
 
593
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
594
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
595
</td>
 
596
</tr>
 
597
<tr>
 
598
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
599
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</td>
 
600
</tr>
 
601
<tr>
 
602
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
603
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
 
604
</tr>
 
605
</tbody>
 
606
</table></div>
 
607
</div>
 
608
<hr>
 
609
<div class="refsect2">
 
610
<a name="goa-oauth-based-proxy-new-finish"></a><h3>goa_oauth_based_proxy_new_finish ()</h3>
 
611
<pre class="programlisting"><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     goa_oauth_based_proxy_new_finish    (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
612
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
613
<p>
 
614
Finishes an operation started with <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new" title="goa_oauth_based_proxy_new ()"><code class="function">goa_oauth_based_proxy_new()</code></a>.
 
615
</p>
 
616
<div class="variablelist"><table border="0">
 
617
<col align="left" valign="top">
 
618
<tbody>
 
619
<tr>
 
620
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
 
621
<td>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new" title="goa_oauth_based_proxy_new ()"><code class="function">goa_oauth_based_proxy_new()</code></a>.</td>
 
622
</tr>
 
623
<tr>
 
624
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
625
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
626
</td>
 
627
</tr>
 
628
<tr>
 
629
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
630
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> GoaOAuthBasedProxy]</span>
 
631
</td>
 
632
</tr>
 
633
</tbody>
 
634
</table></div>
 
635
</div>
 
636
<hr>
 
637
<div class="refsect2">
 
638
<a name="goa-oauth-based-proxy-new-sync"></a><h3>goa_oauth_based_proxy_new_sync ()</h3>
 
639
<pre class="programlisting"><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     goa_oauth_based_proxy_new_sync      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
 
640
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
641
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
642
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
643
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
644
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
645
<p>
 
646
Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.top_of_page">org.gnome.OnlineAccounts.OAuthBased</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new-sync"><code class="function">g_dbus_proxy_new_sync()</code></a> for more details.
 
647
</p>
 
648
<p>
 
649
The calling thread is blocked until a reply is received.
 
650
</p>
 
651
<p>
 
652
See <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new" title="goa_oauth_based_proxy_new ()"><code class="function">goa_oauth_based_proxy_new()</code></a> for the asynchronous version of this constructor.
 
653
</p>
 
654
<div class="variablelist"><table border="0">
 
655
<col align="left" valign="top">
 
656
<tbody>
 
657
<tr>
 
658
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
 
659
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</td>
 
660
</tr>
 
661
<tr>
 
662
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
 
663
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
 
664
</tr>
 
665
<tr>
 
666
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
 
667
<td>A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
668
</td>
 
669
</tr>
 
670
<tr>
 
671
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
 
672
<td>An object path.</td>
 
673
</tr>
 
674
<tr>
 
675
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
676
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
677
</td>
 
678
</tr>
 
679
<tr>
 
680
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
681
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
682
</td>
 
683
</tr>
 
684
<tr>
 
685
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
686
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> GoaOAuthBasedProxy]</span>
 
687
</td>
 
688
</tr>
 
689
</tbody>
 
690
</table></div>
 
691
</div>
 
692
<hr>
 
693
<div class="refsect2">
 
694
<a name="goa-oauth-based-proxy-new-for-bus"></a><h3>goa_oauth_based_proxy_new_for_bus ()</h3>
 
695
<pre class="programlisting"><span class="returnvalue">void</span>                goa_oauth_based_proxy_new_for_bus   (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
 
696
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
697
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
698
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
699
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
700
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
 
701
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
702
<p>
 
703
Like <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new" title="goa_oauth_based_proxy_new ()"><code class="function">goa_oauth_based_proxy_new()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
 
704
</p>
 
705
<p>
 
706
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
 
707
You can then call <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus-finish" title="goa_oauth_based_proxy_new_for_bus_finish ()"><code class="function">goa_oauth_based_proxy_new_for_bus_finish()</code></a> to get the result of the operation.
 
708
</p>
 
709
<p>
 
710
See <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus-sync" title="goa_oauth_based_proxy_new_for_bus_sync ()"><code class="function">goa_oauth_based_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.
 
711
</p>
 
712
<div class="variablelist"><table border="0">
 
713
<col align="left" valign="top">
 
714
<tbody>
 
715
<tr>
 
716
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
 
717
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</td>
 
718
</tr>
 
719
<tr>
 
720
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
 
721
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
 
722
</tr>
 
723
<tr>
 
724
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
 
725
<td>A bus name (well-known or unique).</td>
 
726
</tr>
 
727
<tr>
 
728
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
 
729
<td>An object path.</td>
 
730
</tr>
 
731
<tr>
 
732
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
733
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
734
</td>
 
735
</tr>
 
736
<tr>
 
737
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
738
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</td>
 
739
</tr>
 
740
<tr>
 
741
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
742
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
 
743
</tr>
 
744
</tbody>
 
745
</table></div>
 
746
</div>
 
747
<hr>
 
748
<div class="refsect2">
 
749
<a name="goa-oauth-based-proxy-new-for-bus-finish"></a><h3>goa_oauth_based_proxy_new_for_bus_finish ()</h3>
 
750
<pre class="programlisting"><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     goa_oauth_based_proxy_new_for_bus_finish
 
751
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
 
752
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
753
<p>
 
754
Finishes an operation started with <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus" title="goa_oauth_based_proxy_new_for_bus ()"><code class="function">goa_oauth_based_proxy_new_for_bus()</code></a>.
 
755
</p>
 
756
<div class="variablelist"><table border="0">
 
757
<col align="left" valign="top">
 
758
<tbody>
 
759
<tr>
 
760
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
 
761
<td>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus" title="goa_oauth_based_proxy_new_for_bus ()"><code class="function">goa_oauth_based_proxy_new_for_bus()</code></a>.</td>
 
762
</tr>
 
763
<tr>
 
764
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
765
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
766
</td>
 
767
</tr>
 
768
<tr>
 
769
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
770
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> GoaOAuthBasedProxy]</span>
 
771
</td>
 
772
</tr>
 
773
</tbody>
 
774
</table></div>
 
775
</div>
 
776
<hr>
 
777
<div class="refsect2">
 
778
<a name="goa-oauth-based-proxy-new-for-bus-sync"></a><h3>goa_oauth_based_proxy_new_for_bus_sync ()</h3>
 
779
<pre class="programlisting"><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     goa_oauth_based_proxy_new_for_bus_sync
 
780
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
 
781
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
 
782
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
 
783
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
 
784
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
785
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
786
<p>
 
787
Like <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-sync" title="goa_oauth_based_proxy_new_sync ()"><code class="function">goa_oauth_based_proxy_new_sync()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.
 
788
</p>
 
789
<p>
 
790
The calling thread is blocked until a reply is received.
 
791
</p>
 
792
<p>
 
793
See <a class="link" href="GoaOAuthBased.html#goa-oauth-based-proxy-new-for-bus" title="goa_oauth_based_proxy_new_for_bus ()"><code class="function">goa_oauth_based_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.
 
794
</p>
 
795
<div class="variablelist"><table border="0">
 
796
<col align="left" valign="top">
 
797
<tbody>
 
798
<tr>
 
799
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
 
800
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</td>
 
801
</tr>
 
802
<tr>
 
803
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
 
804
<td>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</td>
 
805
</tr>
 
806
<tr>
 
807
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
 
808
<td>A bus name (well-known or unique).</td>
 
809
</tr>
 
810
<tr>
 
811
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
 
812
<td>An object path.</td>
 
813
</tr>
 
814
<tr>
 
815
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
 
816
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span>
 
817
</td>
 
818
</tr>
 
819
<tr>
 
820
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
821
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
822
</td>
 
823
</tr>
 
824
<tr>
 
825
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
826
<td>The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> GoaOAuthBasedProxy]</span>
 
827
</td>
 
828
</tr>
 
829
</tbody>
 
830
</table></div>
 
831
</div>
 
832
<hr>
 
833
<div class="refsect2">
 
834
<a name="GoaOAuthBasedSkeleton"></a><h3>struct GoaOAuthBasedSkeleton</h3>
 
835
<pre class="programlisting">struct GoaOAuthBasedSkeleton {
 
836
};
 
837
</pre>
 
838
<p>
 
839
The <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedSkeleton" title="struct GoaOAuthBasedSkeleton"><span class="type">GoaOAuthBasedSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.
 
840
</p>
 
841
</div>
 
842
<hr>
 
843
<div class="refsect2">
 
844
<a name="GoaOAuthBasedSkeletonClass"></a><h3>struct GoaOAuthBasedSkeletonClass</h3>
 
845
<pre class="programlisting">struct GoaOAuthBasedSkeletonClass {
 
846
  GDBusInterfaceSkeletonClass parent_class;
 
847
};
 
848
</pre>
 
849
<p>
 
850
Class structure for <a class="link" href="GoaOAuthBased.html#GoaOAuthBasedSkeleton" title="struct GoaOAuthBasedSkeleton"><span class="type">GoaOAuthBasedSkeleton</span></a>.
 
851
</p>
 
852
<div class="variablelist"><table border="0">
 
853
<col align="left" valign="top">
 
854
<tbody><tr>
 
855
<td><p><span class="term"><a href="http://library.gnome.org/devel/gio/unstable/GDBusInterfaceSkeleton.html#GDBusInterfaceSkeletonClass"><span class="type">GDBusInterfaceSkeletonClass</span></a> <em class="structfield"><code><a name="GoaOAuthBasedSkeletonClass.parent-class"></a>parent_class</code></em>;</span></p></td>
 
856
<td>The parent class.</td>
 
857
</tr></tbody>
 
858
</table></div>
 
859
</div>
 
860
<hr>
 
861
<div class="refsect2">
 
862
<a name="goa-oauth-based-skeleton-new"></a><h3>goa_oauth_based_skeleton_new ()</h3>
 
863
<pre class="programlisting"><a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="returnvalue">GoaOAuthBased</span></a> *     goa_oauth_based_skeleton_new        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
864
<p>
 
865
Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.top_of_page">org.gnome.OnlineAccounts.OAuthBased</a>.
 
866
</p>
 
867
<div class="variablelist"><table border="0">
 
868
<col align="left" valign="top">
 
869
<tbody><tr>
 
870
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
871
<td>The skeleton object. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/type"><span class="acronym">type</span></a> GoaOAuthBasedSkeleton]</span>
 
872
</td>
 
873
</tr></tbody>
 
874
</table></div>
 
875
</div>
 
876
</div>
 
877
<div class="refsect1">
 
878
<a name="GoaOAuthBased.property-details"></a><h2>Property Details</h2>
 
879
<div class="refsect2">
 
880
<a name="GoaOAuthBased--consumer-key"></a><h3>The <code class="literal">"consumer-key"</code> property</h3>
 
881
<pre class="programlisting">  "consumer-key"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
882
<p>
 
883
Represents the D-Bus property <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-property-org-gnome-OnlineAccounts-OAuthBased.ConsumerKey" title='The "ConsumerKey" property'>"ConsumerKey"</a>.
 
884
</p>
 
885
<p>
 
886
Since the D-Bus property for this <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
 
887
</p>
 
888
<p>Default value: NULL</p>
 
889
</div>
 
890
<hr>
 
891
<div class="refsect2">
 
892
<a name="GoaOAuthBased--consumer-secret"></a><h3>The <code class="literal">"consumer-secret"</code> property</h3>
 
893
<pre class="programlisting">  "consumer-secret"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
894
<p>
 
895
Represents the D-Bus property <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-property-org-gnome-OnlineAccounts-OAuthBased.ConsumerSecret" title='The "ConsumerSecret" property'>"ConsumerSecret"</a>.
 
896
</p>
 
897
<p>
 
898
Since the D-Bus property for this <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
 
899
</p>
 
900
<p>Default value: NULL</p>
 
901
</div>
 
902
</div>
 
903
<div class="refsect1">
 
904
<a name="GoaOAuthBased.signal-details"></a><h2>Signal Details</h2>
 
905
<div class="refsect2">
 
906
<a name="GoaOAuthBased-handle-get-access-token"></a><h3>The <code class="literal">"handle-get-access-token"</code> signal</h3>
 
907
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a>         *object,
 
908
                                                        <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a> *invocation,
 
909
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>               user_data)       : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
 
910
<p>
 
911
Signal emitted when a remote caller is invoking the <a class="link" href="gdbus-org.gnome.OnlineAccounts.OAuthBased.html#gdbus-method-org-gnome-OnlineAccounts-OAuthBased.GetAccessToken" title="The GetAccessToken() method"><code class="function">GetAccessToken()</code></a> D-Bus method.
 
912
</p>
 
913
<p>
 
914
If a signal handler returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, it means the signal handler will handle the invocation (e.g. take a reference to <em class="parameter"><code>invocation</code></em> and eventually call <a class="link" href="GoaOAuthBased.html#goa-oauth-based-complete-get-access-token" title="goa_oauth_based_complete_get_access_token ()"><code class="function">goa_oauth_based_complete_get_access_token()</code></a> or e.g. <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html#g-dbus-method-invocation-return-error"><code class="function">g_dbus_method_invocation_return_error()</code></a> on it) and no order signal handlers will run. If no signal handler handles the invocation, the <a href="http://library.gnome.org/devel/gio/unstable/GDBusError.html#G-DBUS-ERROR-UNKNOWN-METHOD:CAPS"><code class="literal">G_DBUS_ERROR_UNKNOWN_METHOD</code></a> error is returned.
 
915
</p>
 
916
<div class="variablelist"><table border="0">
 
917
<col align="left" valign="top">
 
918
<tbody>
 
919
<tr>
 
920
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
 
921
<td>A <a class="link" href="GoaOAuthBased.html" title="GoaOAuthBased"><span class="type">GoaOAuthBased</span></a>.</td>
 
922
</tr>
 
923
<tr>
 
924
<td><p><span class="term"><em class="parameter"><code>invocation</code></em> :</span></p></td>
 
925
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html"><span class="type">GDBusMethodInvocation</span></a>.</td>
 
926
</tr>
 
927
<tr>
 
928
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
929
<td>user data set when the signal handler was connected.</td>
 
930
</tr>
 
931
<tr>
 
932
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
933
<td>
 
934
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the invocation was handled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to let other signal handlers run.</td>
 
935
</tr>
 
936
</tbody>
 
937
</table></div>
 
938
</div>
 
939
</div>
 
940
</div>
 
941
<div class="footer">
 
942
<hr>
 
943
          Generated by GTK-Doc V1.17</div>
 
944
</body>
 
945
</html>
 
 
b'\\ No newline at end of file'