1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-04 00:18:40 +01:00
unleash.unleash/src/lib/middleware
sjaanus d5f621f3b2
Add test for api-token-middleware to not make database call when using PAT (#2110)
* Middleware first version

* Middleware tests

* Add tests

* Finish middleware tests

* Add type for request

* Add flagresolver

* Fix snapshot

* Update flags and tests

* Put it back as default

* Update snapshot

* Add middleware test
2022-09-29 08:53:29 +03:00
..
api-token-middleware.test.ts Add test for api-token-middleware to not make database call when using PAT (#2110) 2022-09-29 08:53:29 +03:00
api-token-middleware.ts Personal access token middleware (#2069) 2022-09-28 16:53:56 +03:00
conditional-middleware.ts Feat/unleash flags embedded proxy (#1974) 2022-08-26 15:16:29 +02:00
content_type_checker.test.ts fix: allow charset in content-type (#1241) 2022-01-20 15:00:16 +01:00
content_type_checker.ts fix: allow charset in content-type (#1241) 2022-01-20 15:00:16 +01:00
cors-origin-middleware.test.ts feat: add CORS instance settings (#1957) 2022-08-26 09:09:48 +02:00
cors-origin-middleware.ts feat: add CORS instance settings (#1957) 2022-08-26 09:09:48 +02:00
demo-authentication.ts feat: embed proxy endpoints (#1926) 2022-08-16 15:33:33 +02:00
no-authentication.test.ts
no-authentication.ts refactor: replace ts-ignore with ts-expect-error (#1675) 2022-06-07 11:49:17 +02:00
oss-authentication.test.ts feat: add support for cdnPrefix for static assets (#1191) 2022-01-06 10:31:00 +01:00
oss-authentication.ts
pat-middleware.test.ts Personal access token middleware (#2069) 2022-09-28 16:53:56 +03:00
pat-middleware.ts Personal access token middleware (#2069) 2022-09-28 16:53:56 +03:00
rbac-middleware.test.ts feat: embed proxy endpoints (#1926) 2022-08-16 15:33:33 +02:00
rbac-middleware.ts fix: rbac should pick up projectId from path if available 2022-02-01 22:58:52 +01:00
request-logger.ts
response-time-metrics.ts
secure-headers.ts feat: Allow extra CSP domains (#1610) 2022-05-31 11:32:15 +02:00
session-db.ts fix: Remove unneeded ts-expect-error now that types in knex are in sync (#1866) 2022-07-28 10:34:19 +02:00