MCPcopy Create free account
hub / github.com/e2b-dev/desktop / getAuthKey

Method getAuthKey

packages/js-sdk/src/sandbox.ts:625–633  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

623 }
624
625 public getAuthKey(): string {
626 if (!this.password) {
627 throw new Error(
628 'Unable to retrieve stream auth key, check if requireAuth is enabled'
629 )
630 }
631
632 return this.password
633 }
634
635 /**
636 * Get the URL to a web page with a stream of the desktop sandbox.

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected