Skip to content
On this page

Interface: IntegratorRevocationOptions

Defined in: revocation.ts:306 (opens in a new tab)

ExtendsLink to this section

PropertiesLink to this section

PropertyTypeDescriptionDefined in
clock?() => numberA 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.clockrevocation.ts:87 (opens in a new tab)
fetch?(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>Inherited from RevocationCheckOptions.fetchrevocation.ts:77 (opens in a new tab)
maxStaleMs?numberPast this age a copy cannot vouch for a write. Default 10 min.Inherited from RevocationCheckOptions.maxStaleMsrevocation.ts:57 (opens in a new tab)
meOrigin?stringDefault OC_ME_ORIGIN, else https://me.ochk.io.Inherited from -revocation.ts:313 (opens in a new tab)
now?() => numberThe wall clock, ms: what the list's own at is read against. Default Date.now.Inherited from RevocationCheckOptions.nowrevocation.ts:79 (opens in a new tab)
projectKey?stringDefault OC_PROJECT_KEY.Inherited from -revocation.ts:309 (opens in a new tab)
retryMs?numberAfter a failed fetch, how long to wait before the next. Default 10 s.Inherited from RevocationCheckOptions.retryMsrevocation.ts:70 (opens in a new tab)
signingSecret?stringDefault OC_SIGNING_SECRET.Inherited from -revocation.ts:311 (opens in a new tab)
skewMs?numberClock difference tolerated between the list's at and this host. Default 60 s.Inherited from RevocationCheckOptions.skewMsrevocation.ts:66 (opens in a new tab)
timeoutMs?numberOne fetch's time limit. Default 3 s.Inherited from RevocationCheckOptions.timeoutMsrevocation.ts:68 (opens in a new tab)
ttlMs?numberHow long a copy is used before fetching again. Default 60 s.Inherited from RevocationCheckOptions.ttlMsrevocation.ts:55 (opens in a new tab)