MCPcopy Index your code
hub / github.com/anomalyco/opencode / clearAuthToken

Function clearAuthToken

packages/app/src/entry.tsx:115–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113}
114
115const clearAuthToken = () => {
116 const params = new URLSearchParams(location.search)
117 if (!params.has("auth_token")) return
118 params.delete("auth_token")
119 history.replaceState(null, "", location.pathname + (params.size ? `?${params}` : "") + location.hash)
120}
121
122const platform: Platform = {
123 platform: "web",

Callers 1

entry.tsxFile · 0.85

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected