summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorUlisses Furquim <ulissesf@gmail.com>2006-10-27 15:43:45 +0000
committerUlisses Furquim <ulissesf@gmail.com>2006-10-27 15:43:45 +0000
commit059142c687155f019be426e457105c6a8d982f36 (patch)
tree1159fdef5b4d6a2259a715f711f8a26f03bbd495 /hcid
parent298b236410b9b4e3a3719576c478c6629b478916 (diff)
Add descriptions for the authorization methods in the Security interface
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-api.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index 53ece20f..62e4d43a 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -1002,14 +1002,43 @@ Methods void RegisterDefaultPasskeyAgent(string path)
void RegisterDefaultAuthorizationAgent(string path)
+ This registers the default authorization agent. It can
+ register an authorization agent for all adapters or
+ for a specific one depending on which object path has
+ been used.
+
+ The path parameter defines the object path of the
+ authorization agent that will be called when an
+ authorization request needs to be answered.
+
void UnregisterDefaultAuthorizationAgent(string path)
+ This unregisters a default authorization agent that has
+ been previously registered. The path parameter must
+ match the same value that has been used on
+ registration.
+
void AuthorizeService(string service_path, string address,
string action)
+ This method gets called when a service wants to check
+ if a remote device is authorized to perform some
+ action. The authorization request is forwarded to an
+ authorization agent.
+
+ The service_path parameter must be the object
+ path of the service. The address and action parameters
+ correspond to the remote device address and the action
+ the remote device is trying to perform.
+
void CancelAuthorizationProcess(string service_path,
string address, string action)
+ This method cancels an authorization process requested
+ by a previous call to AuthorizeService(). The
+ service_path, address and action parameters must match
+ the same values that have been used on registration.
+
Service hierarchy (experimental)
================================