Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/auth/sshkey/PhabricatorSSHPublicKeyInterface.php
12256 views
1
<?php
2
3
interface 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
}
23
24