summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-api.txt
diff options
context:
space:
mode:
authorUlisses Furquim <ulissesf@gmail.com>2006-10-27 13:14:51 +0000
committerUlisses Furquim <ulissesf@gmail.com>2006-10-27 13:14:51 +0000
commit0389c138589c54b3c309f89ef307cb92e6a2251b (patch)
treec375e167476a4fc7d30a35ada04848e61c3f3bac /hcid/dbus-api.txt
parenta6f89e8b48c190be6268a1d67c5ca4d2c7c2c384 (diff)
Add initial documentation of the Authorization API
Diffstat (limited to 'hcid/dbus-api.txt')
-rw-r--r--hcid/dbus-api.txt28
1 files changed, 27 insertions, 1 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index d8f7e213..53ece20f 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -1000,6 +1000,16 @@ Methods void RegisterDefaultPasskeyAgent(string path)
Possible errors: org.bluez.Error.DoesNotExist
+ void RegisterDefaultAuthorizationAgent(string path)
+
+ void UnregisterDefaultAuthorizationAgent(string path)
+
+ void AuthorizeService(string service_path, string address,
+ string action)
+
+ void CancelAuthorizationProcess(string service_path,
+ string address, string action)
+
Service hierarchy (experimental)
================================
@@ -1093,7 +1103,7 @@ Methods string Request(string path, string address, boolean numeric)
This method gets called when the service daemon
needs to verify a passkey. The verification is
done by showing the value to the passkey agent
- and returnin true means a successful confirmation
+ and returning true means a successful confirmation
while false means that the values don't match.
Possible errors: org.bluez.Error.Rejected
@@ -1114,6 +1124,22 @@ Methods string Request(string path, string address, boolean numeric)
gets called it has already been unregistered.
+AuthorizationAgent hierarchy (experimental)
+===========================================
+
+Service unique name
+Interface org.bluez.AuthorizationAgent
+Object path freely definable
+
+Methods boolean Authorize(string adapter_path, string address,
+ string service_path, string action)
+
+ void Cancel(string adapter_path, string address,
+ string service_path, string action)
+
+ void Release()
+
+
ServiceAgent hierarchy (experimental)
=====================================