summaryrefslogtreecommitdiffstats
path: root/include/afb
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-27 16:41:59 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-27 16:41:59 +0200
commit18439204034fca982b3b65c2d581f80a9ee62f56 (patch)
tree434d1d00a27a4559560a1873007d64a6f37c8c01 /include/afb
parent69b098942bd6c5b54d4849564407f9d20e598c06 (diff)
terminology: Level Of Assurance
Change-Id: I3c92aab34ba9414faf19d9a96d8f1de786f1e7b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb')
-rw-r--r--include/afb/afb-plugin.h6
-rw-r--r--include/afb/afb-req-itf.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/afb/afb-plugin.h b/include/afb/afb-plugin.h
index 9b99a437..cad55fbe 100644
--- a/include/afb/afb-plugin.h
+++ b/include/afb/afb-plugin.h
@@ -51,16 +51,16 @@ enum AFB_plugin_version
};
/*
- * Enum for Session/Token/Authentication middleware.
+ * Enum for Session/Token/Assurance middleware.
* This enumeration is valid for plugins of type 1
*/
enum AFB_session_v1
{
AFB_SESSION_NONE = 0, /* no session and no authentification required */
- AFB_SESSION_CREATE = 1, /* requires authentification and first call of the session */
+ AFB_SESSION_CREATE = 1, /* obsolete */
AFB_SESSION_CLOSE = 2, /* closes the session after authentification */
AFB_SESSION_RENEW = 4, /* refreshes the token after authentification */
- AFB_SESSION_CHECK = 8, /* enforce authentification */
+ AFB_SESSION_CHECK = 8, /* Requires token authentification */
AFB_SESSION_LOA_GE = 16, /* check that the LOA is greater or equal to the given value */
AFB_SESSION_LOA_LE = 32, /* check that the LOA is lesser or equal to the given value */
diff --git a/include/afb/afb-req-itf.h b/include/afb/afb-req-itf.h
index 8530e05d..5767c853 100644
--- a/include/afb/afb-req-itf.h
+++ b/include/afb/afb-req-itf.h
@@ -259,7 +259,7 @@ static inline void afb_req_session_close(struct afb_req req)
}
/*
- * Sets the level of authorisation of the session of 'req'
+ * Sets the level of assurance of the session of 'req'
* to 'level'. The effect of this function is subject of
* security policies.
* Returns 1 on success or 0 if failed.