-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
Security 2024-08-05, Security 2024-08-19
We will want to understand the overhead of validating and signing tokens through a microbenchmark. There should be three microbenchmarks:
- Test the generation of tokens on the happy path, when a _signer already exists
- Test the generation of tokens when we need to create a new _signer object.
- Test the validation of tokens.
We will use the `MockAuthSessionTokenManager` to isolate out the cost of token validation/generation, rather that measuring the cost of reading/writing to the db.