(prompt, cb)
| 173 | } |
| 174 | |
| 175 | requestChange(prompt, cb) { |
| 176 | if (this._changeCb) |
| 177 | throw new Error('Change request already in progress'); |
| 178 | if (typeof prompt !== 'string') |
| 179 | throw new Error('prompt argument must be a string'); |
| 180 | if (typeof cb !== 'function') |
| 181 | throw new Error('Callback argument must be a function'); |
| 182 | this._changeCb = cb; |
| 183 | this._protocol.authPasswdChg(prompt); |
| 184 | } |
| 185 | } |
| 186 | |
| 187 |
no test coverage detected