request_authorization_async


Description:

public async bool request_authorization_async (string token, string token_secret, string verifier, Cancellable? cancellable) throws Error

Requests authorization of the given request token from the Google accounts service using the given verifier as entered by the user.

this, token, token_secret and verifier are reffed/copied when this method is called, so can safely be freed after this method returns.

For more details, see request_authorization, which is the synchronous version of this method.

When the operation is finished, callback will be called. You can then call request_authorization_async.end to get the results of the operation.

Parameters:

this

a OAuth1Authorizer

token

the request token returned by request_authentication_uri

token_secret

the request token secret returned by request_authentication_uri

verifier

the verifier entered by the user from the authentication page

cancellable

an optional Cancellable, or null

callback

a TaskReadyCallback to call when authorization is finished

user_data

data to pass to the callback function