Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92471902
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
Wed, Nov 20, 14:37
Size
418 B
Mime Type
text/x-php
Expires
Fri, Nov 22, 14:37 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
22446998
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