request_authentication_uri_async


Description:

public async string request_authentication_uri_async (Cancellable? cancellable, out string token, out string token_secret) throws Error

Requests a fresh unauthenticated token from the Google accounts service and builds and returns the URI of an authentication page for that token.

this is reffed when this method is called, so can safely be unreffed after this method returns.

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

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

Parameters:

this

a OAuth1Authorizer

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when building the URI is finished

user_data

data to pass to the callback function