- AFB_PLUGIN_JSON = 123456789,
-/* AFB_PLUGIN_JSCRIPT = 987654321, */
- AFB_PLUGIN_RAW = 987123546
+ AFB_SESSION_NONE = 0, /* no session and no authentification required */
+ AFB_SESSION_CREATE = 1, /* requires authentification and first call of the session */
+ 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_MASK = 15 /* convenient mask used internally, bit-or of the previous masks */