implement authorisation check
[src/app-framework-binder.git] / include / afb / afb-binding-v2.h
index 80e2385..19bff05 100644 (file)
@@ -43,7 +43,7 @@ struct afb_verb_v2
 {
        const char *verb;                       /* name of the verb */
        void (*callback)(struct afb_req req);   /* callback function implementing the verb */
-       struct afb_auth *auth;                  /* required authorisation */
+       const struct afb_auth *auth;                    /* required authorisation */
        uint32_t session;                       /* authorisation and session requirements of the verb */
 };