[ Version ( since = "0.5.2" ) ]
public async Authorize can_authorize_async (string action_id, Cancellable? cancellable) throws Error
We may want to know before we run a method if we are going to be denied, accepted or challenged for authentication.
this |
a valid Control instance |
action_id |
The action ID, for instance "org.freedesktop.PackageKit.install-untrusted" |
cancellable |
a Cancellable or |
callback |
the function to run on completion |
user_data |
the data to pass to |