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

Method open

src/core/PopupHandler.ts:86–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 open(): void {
87 this.window = window.open(this.url, this.target, this.features);
88 if (!this.window) throw LoginError.popupBlocked();
89 if (this.window?.focus) this.window.focus();
90 }
91
92 close(): void {
93 this.iClosedWindow = true;

Callers 2

authHandlerMethod · 0.95
manageMFAMethod · 0.80

Calls 1

popupBlockedMethod · 0.80

Tested by

no test coverage detected