Interface
GoaOAuth2Based
Implementations
Functions
goa_oauth2_based_interface_info
Gets a machine-readable description of the org.gnome.OnlineAccounts.OAuth2Based D-Bus interface.
goa_oauth2_based_override_properties
Overrides all GObject
properties in the GoaOAuth2Based
interface for a concrete class.
The properties are overridden in the order they are defined.
Instance methods
goa_oauth2_based_call_get_access_token
Asynchronously invokes the GetAccessToken() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call goa_oauth2_based_call_get_access_token_finish()
to get the result of the operation.
goa_oauth2_based_call_get_access_token_finish
Finishes an operation started with goa_oauth2_based_call_get_access_token().
goa_oauth2_based_call_get_access_token_sync
Synchronously invokes the GetAccessToken() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
goa_oauth2_based_complete_get_access_token
Helper function used in service implementations to finish handling invocations of the GetAccessToken() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
Signals
Goa.OAuth2Based::handle-get-access-token
Signal emitted when a remote caller is invoking the GetAccessToken() D-Bus method.
Interface structure
Virtual methods
Goa.OAuth2Based.handle_get_access_token
Handler for the GoaOAuth2Based::handle-get-access-token
signal.