Function: requireFutureSshExpiry()
ts
function requireFutureSshExpiry(value, now?): string;Validates one SSH grant expiry the way the node's sidecar contract needs it: a strict ISO 8601 UTC timestamp, in the future, that JavaScript does not silently normalize (so 2025-02-30 is rejected rather than rolled forward). Returns the canonical ISO string, or throws.
Parameters
| Parameter | Type |
|---|---|
value | unknown |
now? | number |
Returns
string