Method
RestOAuthProxyaccess_token_async
Declaration [src]
void
oauth_proxy_access_token_async (
OAuthProxy* proxy,
const char* function,
const char* verifier,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Perform the Access Token phase of OAuth, invoking function
(defaulting to
“access_token” if function
is NULL).
verifier
is only used if you are using OAuth 1.0a. This is either the
“oauth_verifier” parameter that was passed to your callback URI, or a string
that the user enters in some other manner (for example in a popup dialog) if
“oob” was passed to oauth_proxy_request_token(). For OAuth 1.0, pass NULL
.
This method will return once the method has been queued, callback
will be
invoked when it has completed.
Parameters
function
-
Type:
const char*
The function name to invoke.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. verifier
-
Type:
const char*
The verifier.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. cancellable
-
Type:
GCancellable
No description available.
The argument can be NULL
.The data is owned by the caller of the function. callback
-
Type:
GAsyncReadyCallback
A
OAuthProxyAuthCallback
to invoke on completion.The argument can be NULL
. user_data
-
Type:
gpointer
User data to pass to
callback
.The argument can be NULL
.The data is owned by the caller of the function.