Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
const
epochTime = (date = Date.now()) => Math.floor(date / 1000);
15
const
storage =
new
LRUCache<string, AdapterPayload | string[] | string>(options);
16
17
function
grantKeyFor(id: string) {
Callers
1
consume
Method · 0.85
Calls
1
now
Method · 0.80
Tested by
no test coverage detected