Field MaximumLifetime
- Namespace
- MailFathom.Common.ClientAssertions
- Assembly
- MailFathom.Common.dll
The longest window an assertion may claim between the moment it is verified and its own expiry.
public static readonly TimeSpan MaximumLifetime
Returns
- TimeSpan
- The longest window an assertion may claim between the moment it is verified and its own expiry.
Remarks
This is the setting a shared secret does not have. A captured API key works until an operator notices; a captured assertion stops working within this window whatever anyone does, which is the posture the method exists for. It is a constant rather than a setting for the reason every other acceptance rule this deployment applies to a signed credential is one: a deployment able to widen it would eventually be a deployment that had.
It also bounds what the endpoint has to remember. An identifier is kept until the first sweep past the point the assertion carrying it stops being accepted, so what the deployment's record holds is the traffic of the last few such windows rather than a deployment's history of authenticated requests.