From 27fd1d5b085f836a0aa5fd78ec5a7e943d905af3 Mon Sep 17 00:00:00 2001 From: Quentin Rouland Date: Tue, 7 Mar 2017 07:07:13 +0100 Subject: [PATCH] TG-33 --- API_Interfaces.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/API_Interfaces.txt b/API_Interfaces.txt index 2af2eaa..00475be 100644 --- a/API_Interfaces.txt +++ b/API_Interfaces.txt @@ -1,10 +1,7 @@ ####################### LoginAPI (api/login) ####################### -POST -> Authentication method with login/password - In: - login : User login - password : User password +GET -> Authentication method Out: 200 -> AUTH_RESULT = "OK" : Authentication sucessful 401 -> AUTH_RESULT = "AUTHENTICATION_FAILURE" : Wrong login/password @@ -24,3 +21,7 @@ GET -> Get the current logged user, return None if no one is connected 200 -> USER = |None : Dictionary containing user infos or None +######################## +Redirect to cas auth (/login) +######################## +Redirect to cas auth