'; } public function getRequiredScope() { return PhabricatorOAuthServerScope::SCOPE_WHOAMI; } protected function execute(ConduitAPIRequest $request) { $person = id(new PhabricatorPeopleQuery()) ->setViewer($request->getUser()) ->needProfileImage(true) ->withPHIDs(array($request->getUser()->getPHID())) ->executeOne(); return $this->buildUserInformationDictionary( $person, $with_email = true, $with_availability = false); } }