Function: revokedAtFor()
function revokedAtFor(
records: readonly ParsedDeviceEvent[],
address: string,
deviceId: string,
now?: Date): string;
Defined in: live.ts:83 (opens in a new tab)
The revoked_at to sign when revoking (address, deviceId): the current
time, or the latest signed created_at among that device's binds in
records if later, so the revocation also retires a bind dated ahead.
ParametersLink to this section
| Parameter | Type |
|---|---|
records | readonly ParsedDeviceEvent[] |
address | string |
deviceId | string |
now | Date |
ReturnsLink to this section
string