MCPcopy Create free account
hub / github.com/msgbyte/tailchat / findByUserCode

Method findByUserCode

server/services/openapi/oidc/adapter.ts:124–129  ·  view source on GitHub ↗
(
    userCode: string
  )

Source from the content-addressed store, hash-verified

122 }
123
124 async findByUserCode(
125 userCode: string
126 ): Promise<AdapterPayload | undefined | void> {
127 const id = await client.get(userCodeKeyFor(userCode));
128 return this.find(id);
129 }
130
131 async destroy(id: string): Promise<undefined | void> {
132 const key = this.key(id);

Callers

nothing calls this directly

Calls 3

findMethod · 0.95
userCodeKeyForFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected