MCPcopy Create free account
hub / github.com/Web3Auth/Auth / logout

Function logout

examples/react-example/src/App.tsx:70–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 };
69
70 const logout = async () => {
71 try {
72 setLoading(true);
73 await auth.logout();
74 } catch (error) {
75 printToConsole("error while logout", error);
76 } finally {
77 setLoading(false);
78 }
79 };
80
81 return (
82 <>

Callers 1

AppFunction · 0.85

Calls 2

printToConsoleFunction · 0.85
logoutMethod · 0.80

Tested by

no test coverage detected