diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-11-29 12:44:46 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-12-03 18:51:51 +0100 |
commit | d8aff62647736c3f17ff15989ec9f90b48efe1c4 (patch) | |
tree | 879ed25e0c65a5cf1260314f17501a251dd36a5d /src/afb-token.c | |
parent | b70caad7da2eaea85db06dec8377b1cbebcec997 (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-token.c')
-rw-r--r-- | src/afb-token.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/afb-token.c b/src/afb-token.c index b81a87df..f6f5eb73 100644 --- a/src/afb-token.c +++ b/src/afb-token.c @@ -148,18 +148,6 @@ void afb_token_unref(struct afb_token *token) } /** - * Check whether the token is valid or not - * - * @param token the token to check - * @return a boolean value: 0 if not valid, 1 if valid - */ -int afb_token_check(struct afb_token *token) -{ - /* TODO */ - return 1; -} - -/** * Get the string value of the token * * @param token the token whose string value is queried |