MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / logout

Function logout

src/services/auth/auth.services.ts:90–98  ·  view source on GitHub ↗
(onSuccess: () => void, onError: (error: any) => void)

Source from the content-addressed store, hash-verified

88 */
89
90const logout = async (onSuccess: () => void, onError: (error: any) => void) => {
91 await signOut(auth)
92 .then(() => {
93 onSuccess();
94 })
95 .catch((error) => {
96 onError(error);
97 });
98};
99
100/**
101 * Signup a new user with Google using Firebase Authentication

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected