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

Function grantKeyFor

src/node/security/OIDCAdapter.ts:17–19  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

15const storage = new LRUCache<string, AdapterPayload | string[] | string>(options);
16
17function grantKeyFor(id: string) {
18 return `grant:${id}`;
19}
20function userCodeKeyFor(userCode: string) {
21 return `userCode:${userCode}`;
22}

Callers 3

destroyMethod · 0.85
upsertMethod · 0.85
revokeByGrantIdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected