access_token_async


Description:

public bool access_token_async (string function, string verifier, OAuthProxyAuthCallback callback, Object weak_object) throws Error

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 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:

this

an OAuthProxy

function

the function name to invoke

verifier

the verifier

callback

a OAuthProxyAuthCallback to invoke on completion

weak_object

Object to weakly reference and tie the lifecycle of the method call too

user_data

user data to pass to callback

Returns:

true if the method was successfully queued, or false on failure. On failure error is set.