Interface: IntegratorRevocationOptions
Defined in: revocation.ts:306 (opens in a new tab)
ExtendsLink to this section
Omit<RevocationCheckOptions,"url"|"token"|"headers"|"developing"|"staleFrom">
PropertiesLink to this section
| Property | Type | Description | Defined in |
|---|---|---|---|
clock? | () => number | A clock that never steps back, ms. A copy's age and the wait after a failed fetch are the longer of the time on it and on the wall clock, so neither a wall clock set back nor a pause this clock slept through (a suspended host) can extend them. Default performance.now(); when only now is given, now.Inherited from RevocationCheckOptions.clock | revocation.ts:87 (opens in a new tab) |
fetch? | (input: RequestInfo | URL, init?: RequestInit) => Promise<Response> | Inherited from RevocationCheckOptions.fetch | revocation.ts:77 (opens in a new tab) |
maxStaleMs? | number | Past this age a copy cannot vouch for a write. Default 10 min.Inherited from RevocationCheckOptions.maxStaleMs | revocation.ts:57 (opens in a new tab) |
meOrigin? | string | Default OC_ME_ORIGIN, else https://me.ochk.io.Inherited from - | revocation.ts:313 (opens in a new tab) |
now? | () => number | The wall clock, ms: what the list's own at is read against. Default Date.now.Inherited from RevocationCheckOptions.now | revocation.ts:79 (opens in a new tab) |
projectKey? | string | Default OC_PROJECT_KEY.Inherited from - | revocation.ts:309 (opens in a new tab) |
retryMs? | number | After a failed fetch, how long to wait before the next. Default 10 s.Inherited from RevocationCheckOptions.retryMs | revocation.ts:70 (opens in a new tab) |
signingSecret? | string | Default OC_SIGNING_SECRET.Inherited from - | revocation.ts:311 (opens in a new tab) |
skewMs? | number | Clock difference tolerated between the list's at and this host. Default 60 s.Inherited from RevocationCheckOptions.skewMs | revocation.ts:66 (opens in a new tab) |
timeoutMs? | number | One fetch's time limit. Default 3 s.Inherited from RevocationCheckOptions.timeoutMs | revocation.ts:68 (opens in a new tab) |
ttlMs? | number | How long a copy is used before fetching again. Default 60 s.Inherited from RevocationCheckOptions.ttlMs | revocation.ts:55 (opens in a new tab) |