Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F119990422
PassphrasePasswordKey.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
Tue, Jul 1, 03:05
Size
413 B
Mime Type
text/x-php
Expires
Thu, Jul 3, 03:05 (2 d)
Engine
blob
Format
Raw Data
Handle
27122612
Attached To
rPH Phabricator
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
();
}
}
Event Timeline
Log In to Comment