Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72600950
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 16, 02:32
Size
418 B
Mime Type
text/x-php
Expires
Thu, Jul 18, 02:32 (2 d)
Engine
blob
Format
Raw Data
Handle
19034151
Attached To
rPH Phabricator
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
();
}
}
Event Timeline
Log In to Comment