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