Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
577bdc0
)
Set LOA Sample
author
Fulup Ar Foll
<fulup@iot.bzh>
Wed, 25 May 2016 20:22:54 +0000
(22:22 +0200)
committer
Fulup Ar Foll
<fulup@iot.bzh>
Wed, 25 May 2016 20:22:54 +0000
(22:22 +0200)
plugins/session/token-api.c
patch
|
blob
|
history
diff --git
a/plugins/session/token-api.c
b/plugins/session/token-api.c
index
0109f39
..
783e96e
100644
(file)
--- 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);
-
set
LOA(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);
-
set
LOA(request, 0);
+
afb_req_session_set_
LOA(request, 0);
}
// Close and Free context
static void clientGetPing (struct afb_req request) {