diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-05-04 18:01:29 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-05-04 18:01:29 +0200 |
commit | e97aa93b02793018d7d9cad1582748b02493dad2 (patch) | |
tree | 259a73f9d86250270e008443a641d3e66600e350 /src/afb-session.c | |
parent | 7d21e07e79bd97b341d489746cc325107153a24b (diff) |
Make LOA local to the binding
Change-Id: If0494a19a4ce2865af699491c1f6d7b73bce8f11
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-session.c')
-rw-r--r-- | src/afb-session.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/afb-session.c b/src/afb-session.c index bc1c1c5f..17fddd5c 100644 --- a/src/afb-session.c +++ b/src/afb-session.c @@ -47,7 +47,6 @@ struct cookie struct afb_session { unsigned refcount; - unsigned loa; int timeout; time_t expiration; // expiration time of the token time_t access; @@ -383,18 +382,6 @@ const char *afb_session_token (struct afb_session *session) return session->token; } -unsigned afb_session_get_LOA (struct afb_session *session) -{ - assert(session != NULL); - return session->loa; -} - -void afb_session_set_LOA (struct afb_session *session, unsigned loa) -{ - assert(session != NULL); - session->loa = loa; -} - void *afb_session_get_cookie(struct afb_session *session, const void *key) { struct cookie *cookie; |