Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93541396
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 29, 14:16
Size
576 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 14:16 (2 d)
Engine
blob
Format
Raw Data
Handle
22662456
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