Function
login
(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
Tested by
no test coverage detected