1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/src/lib/routes
sighphyre e889d8e29c feat: Implement multi token support for client tokens
This adds support for multi project tokens to be created. Backward compatibility is handled at 3 different layers here:

- The API is made backwards compatible though a permissive data type that accepts either a project?: string or projects?: string[] property, validation is done through JOI here, which ensures that projects and project are not set together. In the case of neither, this defaults to the previous default of ALL_PROJECTS
- The service layer method to handle adding tokens has been made tolerant to either of the above case and has been deprecated, a new method supporting only the new structure of using projects has been added
- Existing compatibility for consumers of Unleash as a library should not be affected either, the ApiUser constructor is now tolerant to the the first input and will internally map to the new cleaned structure
2022-04-06 08:11:41 +02:00
..
admin-api feat: add segments (#1426) 2022-03-29 14:59:14 +02:00
auth fix: welcome-email should not include password-link when disabled (#1302) 2022-01-28 12:50:35 +01:00
client-api feat: Implement multi token support for client tokens 2022-04-06 08:11:41 +02:00
api-def.ts fix: convert api-def.js to tyoescript 2021-09-14 20:07:05 +02:00
backstage.test.ts feat: add support for cdnPrefix for static assets (#1191) 2022-01-06 10:31:00 +01:00
backstage.ts Feat/options need types (#794) 2021-04-22 10:07:10 +02:00
controller.ts fix: always require permission for POST, PATCH, PUT, DELETE (#1152) 2021-12-03 12:46:50 +01:00
health-check.test.ts feat: add support for cdnPrefix for static assets (#1191) 2022-01-06 10:31:00 +01:00
health-check.ts fix: Controller wraps handler with try/catch (#909) 2021-08-13 10:36:19 +02:00
index.test.ts feat: add support for cdnPrefix for static assets (#1191) 2022-01-06 10:31:00 +01:00
index.ts fix: welcome-email should not include password-link when disabled (#1302) 2022-01-28 12:50:35 +01:00
logout.test.ts fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
logout.ts fix: logout-controller should support logoutUrl override (#881) 2021-07-18 21:42:36 +02:00
unleash-types.ts fix: convert xtract-user.js to typescript 2021-09-14 19:58:48 +02:00
util.ts fix: changeRole to assign roles without existing members 2022-03-03 14:33:32 +01:00