Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17826809
PassphrasePasswordKey.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
418 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
PassphrasePasswordKey
();
return
$key
->
loadAndValidateFromPHID
(
$phid
,
$viewer
,
PassphrasePasswordCredentialType
::
PROVIDES_TYPE
);
}
public
function
getPasswordEnvelope
()
{
return
$this
->
requireCredential
()->
getSecret
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jul 28, 7:38 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8235417
Default Alt Text
PassphrasePasswordKey.php (418 B)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment