complete_get_access_token


Description:

public void complete_get_access_token (owned DBusMethodInvocation invocation, string access_token, string access_token_secret, int expires_in)

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 return_error or similar.

This method will free invocation, you cannot use it afterwards.

Parameters:

this

A OAuthBased.

invocation

A DBusMethodInvocation.

access_token

Parameter to return.

access_token_secret

Parameter to return.

expires_in

Parameter to return.