Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F464179
PassphrasePasswordKey.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
413 B
Referenced Files
None
Subscribers
None
PassphrasePasswordKey.php
View Options
<?php
final
class
PassphrasePasswordKey
extends
PassphraseAbstractKey
{
public
static
function
loadFromPHID
(
$phid
,
PhabricatorUser
$viewer
)
{
$key
=
new
PassphraseSSHKey
();
return
$key
->
loadAndValidateFromPHID
(
$phid
,
$viewer
,
PassphraseCredentialTypePassword
::
PROVIDES_TYPE
);
}
public
function
getPasswordEnvelope
()
{
return
$this
->
requireCredential
()->
getSecret
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:44 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
73651
Default Alt Text
PassphrasePasswordKey.php (413 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment