MCPcopy
hub / github.com/deepstreamIO/deepstream.io / login

Function login

test-e2e/framework/client.ts:32–43  ·  view source on GitHub ↗
(clientExpression: string, username: string, password: string, done: Function)

Source from the content-addressed store, hash-verified

30 },
31
32 login (clientExpression: string, username: string, password: string, done: Function) {
33 clientHandler.getClients(clientExpression).forEach((client) => {
34 client.client.login({
35 username,
36 password
37 }, (success, data) => {
38 client.login(success, data)
39 client.user = username
40 done()
41 })
42 })
43 },
44
45 attemptLogin (clientExpression: string, username: string, password: string) {
46 clientHandler.getClients(clientExpression).forEach((client) => {

Callers

nothing calls this directly

Calls 1

forEachMethod · 0.80

Tested by

no test coverage detected