1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +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
content_type_checker.test.ts
content_type_checker.ts
cors-origin-middleware.test.ts
cors-origin-middleware.ts
demo-authentication.ts feat: embed proxy endpoints (#1926) 2022-08-16 15:33:33 +02:00
no-authentication.test.ts
no-authentication.ts
oss-authentication.test.ts
oss-authentication.ts
pat-middleware.test.ts Personal access token middleware (#2069) 2022-09-28 16:53:56 +03:00
pat-middleware.ts
rbac-middleware.test.ts
rbac-middleware.ts
request-logger.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
response-time-metrics.ts
secure-headers.ts
session-db.ts