MCPcopy Index your code
hub / github.com/ether/etherpad / findByUserCode

Method findByUserCode

src/node/security/OIDCAdapter.ts:73–76  ·  view source on GitHub ↗
(userCode: string)

Source from the content-addressed store, hash-verified

71 }
72
73 findByUserCode(userCode: string) {
74 const id = storage.get(userCodeKeyFor(userCode)) as string;
75 return this.find(id);
76 }
77
78 upsert(id: string, payload: AdapterPayload, expiresIn: number) {
79 const key = this.key(id);

Callers 1

OIDCAdapter.tsFile · 0.80

Calls 3

findMethod · 0.95
userCodeKeyForFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected