'; } public function defineErrorTypes() { return array(); } protected function execute(ConduitAPIRequest $request) { $authentication = array( 'token', 'asymmetric', 'session', 'sessionless', ); $oauth_app = 'PhabricatorOAuthServerApplication'; if (PhabricatorApplication::isClassInstalled($oauth_app)) { $authentication[] = 'oauth'; } return array( 'authentication' => $authentication, 'signatures' => array( 'consign', ), 'input' => array( 'json', 'urlencoded', ), 'output' => array( 'json', 'human', ), ); } }