MCPcopy Create free account
hub / github.com/bytebase/bytebase / asUser

Method asUser

frontend/tests/e2e/framework/api-client.ts:791–795  ·  view source on GitHub ↗
(baseURL: string, email: string, password: string)

Source from the content-addressed store, hash-verified

789
790 // Multi-user helper
791 static async asUser(baseURL: string, email: string, password: string): Promise<BytebaseApiClient> {
792 const client = new BytebaseApiClient({ baseURL, credentials: { email, password } });
793 await client.login(email, password);
794 return client;
795 }
796}

Callers 1

Calls 1

loginMethod · 0.95

Tested by

no test coverage detected