Forces the Authorizer to refresh any authorization tokens it holds with the online service.
this and cancellable
are reffed when this method is called, so can safely be freed after
this method returns.
For more details, see refresh_authorization, which is
the synchronous version of this method. If the Authorizer class doesn't implement
GDataAuthorizerInterface.refresh_authorization_async
but does implement GDataAuthorizerInterface.refresh_authorization
, the latter will be called from a new thread to make it asynchronous.
When the authorization refresh operation is finished, callback
will be called. You can then call
refresh_authorization_async.end to get the results of the operation.
This method is thread safe.
this | |
cancellable |
optional Cancellable object, or |
callback |
a TaskReadyCallback to call when the authorization refresh operation is finished, or |
user_data |
data to pass to the |