MCPcopy Create free account
hub / github.com/ether/etherpad / epochTime

Function epochTime

src/node/security/OIDCAdapter.ts:14–14  ·  view source on GitHub ↗
(date = Date.now())

Source from the content-addressed store, hash-verified

12}
13
14const epochTime = (date = Date.now()) => Math.floor(date / 1000);
15const storage = new LRUCache<string, AdapterPayload | string[] | string>(options);
16
17function grantKeyFor(id: string) {

Callers 1

consumeMethod · 0.85

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected