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

Method _authorizeSession

src/core/auth.ts:487–495  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

485 }
486
487 private async _authorizeSession(): Promise<AuthSessionData | null> {
488 try {
489 const result = await this.sessionManager.authorize();
490 return result;
491 } catch (err) {
492 log.error("authorization failed", err);
493 return null;
494 }
495 }
496
497 private clearState() {
498 this.updateState({

Callers 2

initMethod · 0.95
refreshSessionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected