Method
RestOAuthProxyrequest_token_async
Declaration [src]
void
oauth_proxy_request_token_async (
OAuthProxy* proxy,
const char* function,
const char* callback_uri,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Perform the Request Token phase of OAuth, invoking function
(defaulting to
“request_token” if function
is NULL).
The value of callback
depends on whether you wish to use OAuth 1.0 or 1.0a.
If you wish to use 1.0 then callback must be NULL. To use 1.0a then
callback
should either be your callback URI, or “oob” (out-of-band).
This method will return once the method has been queued, callback
will be
invoked when it has completed.
Parameters
function |
const char* |
The function name to invoke. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
callback_uri |
const char* |
The callback URI. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
cancellable |
GCancellable |
No description available. | |
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
User data to pass to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |