MCPcopy Create free account
hub / github.com/WJX20/claude-code / endAuthentication

Method endAuthentication

src/utils/awsAuthStatusManager.ts:58–70  ·  view source on GitHub ↗
(success: boolean)

Source from the content-addressed store, hash-verified

56 }
57
58 endAuthentication(success: boolean): void {
59 if (success) {
60 // Clear the status completely on success
61 this.status = {
62 isAuthenticating: false,
63 output: [],
64 }
65 } else {
66 // Keep the output visible on failure
67 this.status.isAuthenticating = false
68 }
69 this.changed.emit(this.getStatus())
70 }
71
72 subscribe = this.changed.subscribe
73

Callers 2

refreshAwsAuthFunction · 0.80
refreshGcpAuthFunction · 0.80

Calls 2

getStatusMethod · 0.95
emitMethod · 0.80

Tested by

no test coverage detected