@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Conduit: Deprecate conduit.connect and conduit.getcertificate endpoints

Summary:
Session-based auth got superseded by token-based authentication long ago.

Refs T16487

Test Plan:
* Go to http://phorge.localhost/conduit/method/conduit.connect/ and http://phorge.localhost/conduit/method/conduit.getcertificate/
* See a "Stability" entry saying "Deprecated Method"

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16487

Differential Revision: https://we.phorge.it/D26728

+22
+11
src/applications/conduit/method/ConduitConnectConduitAPIMethod.php
··· 14 14 return true; 15 15 } 16 16 17 + public function getMethodStatus() { 18 + return self::METHOD_STATUS_DEPRECATED; 19 + } 20 + 21 + public function getMethodStatusDescription() { 22 + return pht( 23 + 'This method has been deprecated since %s in favor of token-based '. 24 + 'authentication.', 25 + '02/2026'); 26 + } 27 + 17 28 public function getMethodDescription() { 18 29 return pht('Connect a session-based client.'); 19 30 }
+11
src/applications/conduit/method/ConduitGetCertificateConduitAPIMethod.php
··· 15 15 return true; 16 16 } 17 17 18 + public function getMethodStatus() { 19 + return self::METHOD_STATUS_DEPRECATED; 20 + } 21 + 22 + public function getMethodStatusDescription() { 23 + return pht( 24 + 'This method has been deprecated since %s in favor of token-based '. 25 + 'authentication.', 26 + '02/2026'); 27 + } 28 + 18 29 public function getMethodDescription() { 19 30 return pht('Retrieve certificate information for a user.'); 20 31 }