MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / handleSignOut

Method handleSignOut

src/scripts/clipperUI/clipper.tsx:622–629  ·  view source on GitHub ↗
(authType: string)

Source from the content-addressed store, hash-verified

620 }
621
622 private handleSignOut(authType: string): void {
623 this.state.setState(this.getSignOutState());
624 Clipper.getExtensionCommunicator().callRemoteFunction(Constants.FunctionKeys.signOutUser, { param: AuthType[authType] });
625
626 Clipper.logger.logUserFunnel(Log.Funnel.Label.SignOut);
627 Clipper.logger.logSessionEnd(Log.Session.EndTrigger.SignOut);
628 Clipper.logger.logSessionStart();
629 }
630
631 private getSignOutState(): ClipperState {
632 let signOutState = this.getResetState();

Callers

nothing calls this directly

Calls 7

getSignOutStateMethod · 0.95
setStateMethod · 0.80
callRemoteFunctionMethod · 0.80
logUserFunnelMethod · 0.45
logSessionEndMethod · 0.45
logSessionStartMethod · 0.45

Tested by

no test coverage detected