can_authorize_async


Description:

[ 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.

Parameters:

this

a valid Control instance

action_id

The action ID, for instance "org.freedesktop.PackageKit.install-untrusted"

cancellable

a Cancellable or null

callback

the function to run on completion

user_data

the data to pass to callback




2022 vala-language.org