Commit Graph
17 Commits
Author SHA1 Message Date
Eneko Lakasta 890f0d1ef6 add fallback for using metadata fallback 2018-02-14 17:31:05 +01:00
Eneko Lakasta e1a2ee2381 control API access grants 2018-02-08 13:07:25 +01:00
Eneko Lakasta 6ebf51ce45 let select apikey type in setDBAuth: regular, default, master 2018-02-08 11:29:17 +01:00
Eneko Lakasta 41f3606572 return unauthorized error when api key not found 2018-02-07 19:12:14 +01:00
Eneko Lakasta ea0542dcb1 remove use of step 2018-02-07 18:48:59 +01:00
Eneko Lakasta a4dbc1bac2 remove step and check existance of proper api key 2018-02-07 18:20:56 +01:00
Eneko Lakasta 95538707c9 add parameter asMaster to setDBAuth 2018-02-07 17:14:13 +01:00
Simon Martín 9083fc2e20 fix forgotten comment 2017-10-05 12:44:03 +02:00
Simon Martín 1f03a6b181 using res.locals instead of params in AuthApi 2017-10-05 11:28:41 +02:00
Simon Martín ec8fcc7302 change param name and comments updated 2017-10-04 12:50:27 +02:00
Simon Martín 21720267cf from req.context to res.locals 2017-10-03 17:47:57 +02:00
Simon Martín 3ce10690d6 send res.locals instead of res when possible 2017-10-03 13:06:12 +02:00
Simon Martín b4d03c074a not move db params to res.locals.db 2017-09-29 11:07:11 +02:00
Simon Martín 4a2cc6a5f8 res.locals in auth_api 2017-09-28 11:55:36 +02:00
Raul Ochoa cad02bfad7 Remove all conditional branches to call req.profiler
req.profiler is created in a middleware for all requests.
2017-03-30 20:31:53 +02:00
Raul Ochoa 9c6c63c167 More strict jshint 2015-07-15 15:03:28 +02:00
Raul Ochoa b05701be61 Authentication/Authorization moves to its own entity 2015-07-13 15:05:03 +02:00