public function getAuthedUser() { return $this->apiCall('auth.test')->then(function (Payload $response) { return $this->getUserById($response['user_id']); }); }