From: Fulup Ar Foll Date: Wed, 25 May 2016 20:22:54 +0000 (+0200) Subject: Set LOA Sample X-Git-Tag: blowfish_2.0.1~69 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=8fe5d03591acdd6d9770a10280f54f3e3c1621cb;p=src%2Fapp-framework-binder.git Set LOA Sample --- diff --git a/plugins/session/token-api.c b/plugins/session/token-api.c index 0109f391..783e96ed 100644 --- a/plugins/session/token-api.c +++ b/plugins/session/token-api.c @@ -49,7 +49,7 @@ static void clientContextLogin (struct afb_req request) afb_req_success(request, jresp, NULL); - setLOA(request, 1); + afb_req_session_set_LOA(request, 1); } // Before entering here token will be check and renew @@ -89,7 +89,7 @@ static void clientContextLogout (struct afb_req request) { // WARNING: if you free context resource manually here do not forget to set *request.context=NULL; afb_req_success(request, jresp, NULL); - setLOA(request, 0); + afb_req_session_set_LOA(request, 0); } // Close and Free context static void clientGetPing (struct afb_req request) {