MASAKA / SDK & API / Web client
SDK & API

Signed-in client
control.

The public client uses an account token provider and owned project ID. It never receives a project service key.

Client example

Browser client
const client = new MasakaBrowserClient({
  getAccessToken: () => auth.currentToken(),
  projectId
});
const session = await client.create({ region: 'china' });
await client.waitForReady(session.id);
await client.takeControl(session.id);
const tabs = await client.tabs(session.id);
await client.releaseControl(session.id);

Client capabilities

  • Launch and stop owned sessions
  • Direct visual or semantic preview ticket renewal
  • Human control, pointer, touch, keyboard, and real browser tabs
  • Download listing and retrieval

Public-client security