From bd19e370314a5794c23f76c8f7228a9e0d9894b7 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Wed, 23 Nov 2016 22:25:25 +0100 Subject: [PATCH] [DEV] think about a basic IDL --- tools/service-user/appl/service-user.zeus.idl | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tools/service-user/appl/service-user.zeus.idl diff --git a/tools/service-user/appl/service-user.zeus.idl b/tools/service-user/appl/service-user.zeus.idl new file mode 100644 index 0000000..ed4a03c --- /dev/null +++ b/tools/service-user/appl/service-user.zeus.idl @@ -0,0 +1,24 @@ +#description: user interface management +#version: 0.1.0 +#type-api:USER/1 +#author:Heero Yui + +#brief:Get list of group availlable for a client name +#param:_clientName:Name of the client +vector:string getGroups(string clientName) + +#brief:Check if a user tocken is correct or not +#param[in]:clientName:Name of the client +#param[in]:tocken:String containing the Tocken +#return: true if the Tocken is validated or false if it is wrong +bool checkTocken(string clientName, string tocken) + +#brief:Check the password of the curent user +#param[in]:password:client/user password +#return: true if the pasword is validated or false if it is wrong +bool checkAuth(string _password) + +#brief:Filter a list of service with the cuurent profile of the user (restrict area) +#param[in]:clientName:Name of the client +#param[in]:currentList:Vector of name of the services +vector:string filterServices(string _clientName, vector:string _currentList)