Hannah Wolfe
|
19603a33f3
|
Check client is enabled before auth
no issue
- add a check that the client has status 'enabled' to client auth strategy
- this permits the disabling of clients easily
- update tests
|
2015-11-04 16:59:56 +00:00 |
|
Sebastian Gierlinger
|
f48dfb09cf
|
Public API
refs #4180
closes #4181
- added client and user authentication
- added authenticatePublic/authenticatePrivate as workaround for
missing permissions
- added domain validation
- added CORS header for valid clients
- merged authenticate.js and client-auth.js into auth.js
- removed middleware/api-error-handlers.js
- removed authentication middleware
- added and updated tests
|
2015-10-22 15:28:47 +02:00 |
|
Hannah Wolfe
|
2c51a89b66
|
Refactor auth-strategies to use findOne
- Simplifies both strategy & test code
- Should have no side effects
|
2015-10-16 19:40:02 +01:00 |
|
Sebastian Gierlinger
|
6120d0a80f
|
Improve middleware coverage
refs #5286
- changed auth-strategies to be testable
- added tests
|
2015-08-21 23:46:42 +02:00 |
|
Sebastian Gierlinger
|
a993f80a51
|
Auth tests
- added tests for authentication middleware
- changed use of auth strategies
|
2015-08-09 12:50:05 +02:00 |
|
Hannah Wolfe
|
7eacd2876d
|
Ensure middleware functions are named
refs #5091
- adds names to all middleware functions, for debugging purposes
|
2015-06-02 14:49:18 +01:00 |
|
Fabian Becker
|
2c3abeee03
|
Naming cleanup
closes #4069
- Rename everything from camelCase to lowercase + dashes
- Remove usage of `server`, `app` and `instance`
|
2014-09-20 21:09:16 +02:00 |
|