Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90454328
PhabricatorAuthSSHKeyListController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 1, 20:27
Size
576 B
Mime Type
text/x-php
Expires
Sun, Nov 3, 20:27 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22076717
Attached To
rPH Phabricator
PhabricatorAuthSSHKeyListController.php
View Options
<?php
final
class
PhabricatorAuthSSHKeyListController
extends
PhabricatorAuthSSHKeyController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$object_phid
=
$request
->
getURIData
(
'forPHID'
);
$object
=
$this
->
loadSSHKeyObject
(
$object_phid
,
false
);
if
(!
$object
)
{
return
new
Aphront404Response
();
}
$engine
=
id
(
new
PhabricatorAuthSSHKeySearchEngine
())
->
setSSHKeyObject
(
$object
);
return
id
(
$engine
)
->
setController
(
$this
)
->
buildResponse
();
}
}
Event Timeline
Log In to Comment