@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<?php
2
3interface PhabricatorSSHPublicKeyInterface {
4
5 /**
6 * Provide a URI for SSH key workflows to return to after completing.
7 *
8 * When an actor adds, edits or deletes a public key, they'll be returned to
9 * this URI. For example, editing user keys returns the actor to the settings
10 * panel. Editing device keys returns the actor to the device page.
11 */
12 public function getSSHPublicKeyManagementURI(PhabricatorUser $viewer);
13
14
15 /**
16 * Provide a default name for generated SSH keys.
17 */
18 public function getSSHKeyDefaultName();
19
20 public function getSSHKeyNotifyPHIDs();
21
22}