Commit Graph

6 Commits

Author SHA1 Message Date
Junhyun Shim ce652fa284 Replace AuthZ's use of tenant names in token with tenant ID
Also, to minimize audit log loss, handle token usage audit logging at each usage.
This has a side-effect of making the token use log less bursty.
This also subtly changes the dedup cache policy.
Dedup time window used to be 5 seconds (default) since the start of batch-logging.
Now it's 5 seconds from the first usage since the closing of the previous dedup window
2023-02-03 21:46:31 +01:00
Junhyun Shim 9ddc8e076d Fix clang format 2022-12-09 17:07:17 -08:00
Junhyun Shim 5da9b5e10d Apply review suggestions 2022-12-09 16:48:42 -08:00
Junhyun Shim 0c204586d7 fork a pipe-IPC server subprocess from main 2022-12-06 14:04:30 +01:00
Junhyun Shim 03f0696a4b Isolate TokenSpec such that it doesn't depend on flow headers 2022-11-24 15:08:07 +01:00
Junhyun Shim a4157e0c51 Expose TokenSign as a public library to be used by Mako 2022-11-21 14:33:45 +01:00