summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2012-05-18 17:23:18 -0400
committerDavid Zeuthen <davidz@redhat.com>2012-05-18 17:29:01 -0400
commit3b7868b33033ed8dde17bb6b88ef461f4ecbb93f (patch)
tree744dbb782b5de49d672141ac091924fbebb1349a /HACKING
parentff18d9a8a23f11f76babc696082750f3f4b74239 (diff)
downloadpolkit-3b7868b33033ed8dde17bb6b88ef461f4ecbb93f.tar.gz
Make it possible for JS code to change details
For example, to set the authentication message, a JS function can simply do details["polkit.message"] = "Hey dude, XYZ, I need your password"; This can also be used to pass data back to the mechanism. To make this work properly, we also introduce a slight change: the a{ss} passed back to the mechanism (part of the AuthorizationResult structure) will be initialized with the a{ss} the app passed itself in the CheckAuthorization() call. Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions