MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isAuthCodeExpired

Function isAuthCodeExpired

web/src/app/onboard/_helpers.ts:154–157  ·  view source on GitHub ↗
(expiresAt: string)

Source from the content-addressed store, hash-verified

152}
153
154export function isAuthCodeExpired(expiresAt: string): boolean {
155 const expiresAtMs = Number(expiresAt)
156 return !Number.isFinite(expiresAtMs) || expiresAtMs < Date.now()
157}

Callers 3

OnboardFunction · 0.90
helpers.test.tsFile · 0.90
LoginPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected