MCPcopy Index your code
hub / github.com/coder/code-server / removeToken

Method removeToken

src/node/routes/login.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 public removeToken(): boolean {
24 return this.minuteLimiter.tryRemoveTokens(1) || this.hourLimiter.tryRemoveTokens(1)
25 }
26}
27
28const getRoot = async (req: Request, error?: Error): Promise<string> => {

Callers 2

login.test.tsFile · 0.80
login.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected