[ CCode ( has_construct_function = false , type = "GoaOAuthBased*" ) ]
public OAuthBasedProxy.sync (DBusConnection connection, DBusProxyFlags flags, string? name, string object_path, Cancellable? cancellable = null) throws Error
Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-gnome-OnlineAccounts-OAuthBased.
top_of_page">org.gnome.OnlineAccounts.OAuthBased</link>. See DBusProxy.sync for more details.
The calling thread is blocked until a reply is received.
See OAuthBasedProxy for the asynchronous version of this constructor.
| connection | |
| flags |
Flags from the DBusProxyFlags enumeration. |
| name |
A bus name (well-known or unique) or null if |
| object_path |
An object path. |
| cancellable |
A Cancellable or null. |
|
The constructed proxy object or null if throws is set. |