Commit Graph

12 Commits

Author SHA1 Message Date
xdrm-brackets 5d9e6ef83f upd: config.modules (added GET dev/session_destroy) | add: api.module.dev (added session_destroy() to clean the variable) 2017-12-06 17:41:25 +01:00
xdrm-brackets b706948b3a add: .gitignore | fix: api.core.Request (InvalidHttpError if not in **AND** not in @forced_method) 2017-11-27 14:57:29 +01:00
xdrm-brackets 88f1d3b871 add: api.module.authentication (authentication methods for admin + user) | upd: config.modules (updated config according to @1) 2017-11-26 13:49:13 +01:00
xdrm-brackets cf35a8ade4 fix: api.core.Request (now can force a HTTP_METHOD when called inside php (3rd argument)) 2017-11-26 13:48:33 +01:00
xdrm-brackets 6399608ef5 fix: api.core.AuthSystemDefault (re-use stored token in session if session_connected (check again for each api call)) 2017-11-26 13:48:03 +01:00
xdrm-brackets 4aec7e790d upd: api.core.Checker (setup hash to have 128c length) 2017-11-26 13:18:08 +01:00
xdrm-brackets 2c713f48e8 upd: api.core.AuthSystemDefault (implemented authentication by token) 2017-11-26 12:10:10 +01:00
xdrm-brackets eef40ce771 fix: api.module.RESTexample (removed unset variable) 2017-11-26 11:42:10 +01:00
xdrm-brackets a6cfd218d6 Barebone setup@3 > upd: routes.json (enable VIEW http method) | fix: api.Request 2017-11-23 12:56:07 +01:00
xdrm-brackets cc4fd4427b Barebone setup@2 > fixed: api.core.AuthSystemDefault (removed useless @module management + use Error argument to tell which permission misses) | api.core.Request (removed @module when calling api.core.AuthSystemDefault.permission(@expected)) 2017-11-23 11:53:29 +01:00
xdrm-brackets ab0808d4c5 Barebone setup@1 > fixed: api.core.AuthSystemDefault (manages default main permissions + custom permissions in the array $_SESSION['PERM']) 2017-11-23 11:32:31 +01:00
xdrm-brackets 8371ea89b8 Barebone setup@0 > build: api, router, http, error | 2017-11-23 11:23:09 +01:00