aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-permission-text.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-11-29 12:44:46 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-12-03 18:51:51 +0100
commitd8aff62647736c3f17ff15989ec9f90b48efe1c4 (patch)
tree879ed25e0c65a5cf1260314f17501a251dd36a5d /src/afb-permission-text.c
parentb70caad7da2eaea85db06dec8377b1cbebcec997 (diff)
afb-context & afb-token: rework token validation
Validation of token is now linked to backend permission database. Bug-AGL: SPEC-2968 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: I30b049f92b8324740abecbb9539f7413ad55f7ec
Diffstat (limited to 'src/afb-permission-text.c')
-rw-r--r--src/afb-permission-text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-permission-text.c b/src/afb-permission-text.c
index 21069df8..43ce530a 100644
--- a/src/afb-permission-text.c
+++ b/src/afb-permission-text.c
@@ -18,3 +18,4 @@
#include "afb-permission-text.h"
const char afb_permission_on_behalf_credential[] = "urn:AGL:permission:*:partner:on-behalf-credentials";
+const char afb_permission_token_valid[] = "urn:AGL:token:valid";