request_authorization_async


Description:

public async bool request_authorization_async (string authorization_code, Cancellable? cancellable) throws Error

Asynchronous version of request_authorization.

Parameters:

this

a OAuth2Authorizer

authorization_code

code returned 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