summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjobol <jose.bollo@iot.bzh>2017-11-09 11:31:48 +0100
committerjobol <jose.bollo@iot.bzh>2017-11-09 11:31:48 +0100
commitdbce6e531dbebd7e393073d08d4b5c7a11ee1432 (patch)
tree355dfc0cdd45d168f5845f34dddb434ba16cebc9
parent5f52a397574ecc6f3af9a5a7f81c0963b978b228 (diff)
Remove 'login'
Signed-off-by: jobol <jose.bollo@iot.bzh>
-rw-r--r--agl-identity-service/src/agl-identity-binding.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/agl-identity-service/src/agl-identity-binding.c b/agl-identity-service/src/agl-identity-binding.c
index 97e1e37..afb815d 100644
--- a/agl-identity-service/src/agl-identity-binding.c
+++ b/agl-identity-service/src/agl-identity-binding.c
@@ -171,11 +171,6 @@ static void unsubscribe (struct afb_req request)
afb_req_success(request, NULL, NULL);
}
-static void login (struct afb_req request)
-{
- afb_req_fail(request, "not-implemented-yet", NULL);
-}
-
static void logout (struct afb_req request)
{
do_logout();
@@ -213,7 +208,6 @@ static const struct afb_verb_v2 verbs[]=
{
{"subscribe" , subscribe , NULL, "subscribe to events" , AFB_SESSION_NONE },
{"unsubscribe", unsubscribe , NULL, "unsubscribe to events" , AFB_SESSION_NONE },
- {"login" , login , NULL, "log a user in" , AFB_SESSION_NONE },
{"logout" , logout , NULL, "log the current user out", AFB_SESSION_NONE },
{"get" , get , NULL, "get data" , AFB_SESSION_NONE },
{NULL}