MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / logout

Function logout

ui/src/auth/api.ts:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37export async function logout(): Promise<void> {
38 await fetch('/api/auth/logout', {
39 method: 'POST',
40 credentials: 'same-origin',
41 })
42}

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected