MCPcopy
hub / github.com/monkeytypegame/monkeytype / signOut

Function signOut

frontend/src/ts/auth.tsx:307–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

305}
306
307export function signOut(): void {
308 if (!isAuthAvailable()) {
309 showErrorNotification("Authentication uninitialized", { durationMs: 3000 });
310 return;
311 }
312 if (!isAuthenticated()) return;
313 void authSignOut();
314}
315
316export async function signUp(
317 name: string,

Callers 3

AccountMenuFunction · 0.90
showUpdatePasswordModalFunction · 0.90
showUpdateEmailModalFunction · 0.90

Calls 3

isAuthAvailableFunction · 0.90
showErrorNotificationFunction · 0.90
isAuthenticatedFunction · 0.90

Tested by

no test coverage detected