call_get_access_token_sync


Description:

public bool call_get_access_token_sync (out string out_access_token, out int out_expires_in, Cancellable? cancellable = null) throws Error

Synchronously invokes the <link linkend="gdbus-method-org-gnome-OnlineAccounts-OAuth2Based.

GetAccessToken">GetAccessToken</link> D-Bus method on this. The calling thread is blocked until a reply is received.

See call_get_access_token for the asynchronous version of this method.

Parameters:

this

A OAuth2BasedProxy.

out_access_token

Return location for return parameter or null to ignore.

out_expires_in

Return location for return parameter or null to ignore.

cancellable

A Cancellable or null.

Returns:

true if the call succeeded, false if throws is set.