|
|
@ -478,6 +478,7 @@ export default class MetamaskController extends EventEmitter { |
|
|
|
|
|
|
|
|
|
|
|
// vault management
|
|
|
|
// vault management
|
|
|
|
submitPassword: nodeify(this.submitPassword, this), |
|
|
|
submitPassword: nodeify(this.submitPassword, this), |
|
|
|
|
|
|
|
verifyPassword: nodeify(this.verifyPassword, this), |
|
|
|
|
|
|
|
|
|
|
|
// network management
|
|
|
|
// network management
|
|
|
|
setProviderType: nodeify(networkController.setProviderType, networkController), |
|
|
|
setProviderType: nodeify(networkController.setProviderType, networkController), |
|
|
@ -808,6 +809,15 @@ export default class MetamaskController extends EventEmitter { |
|
|
|
return this.keyringController.fullUpdate() |
|
|
|
return this.keyringController.fullUpdate() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Submits a user's password to check its validity. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param {string} password The user's password |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
async verifyPassword (password) { |
|
|
|
|
|
|
|
await this.keyringController.verifyPassword(password) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @type Identity |
|
|
|
* @type Identity |
|
|
|
* @property {string} name - The account nickname. |
|
|
|
* @property {string} name - The account nickname. |
|
|
|