/** * Method to send password reset notification * @param $username * @param $key * @return mixed */ public function sendPasswordResetNotification($username, $key){ $recoveryNotification = new sendRecoveryNotification(); $recoveryNotification->username = $username; $recoveryNotification->key = $key; $result = $this->serviceStub->sendRecoveryNotification($recoveryNotification); return $result->return->verified; }