Page MenuHomePhorge

PassphrasePasswordKey.php
No OneTemporary

PassphrasePasswordKey.php

<?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

Mime Type
text/x-php
Expires
Thu, Mar 27, 01:30 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1257328
Default Alt Text
PassphrasePasswordKey.php (418 B)

Event Timeline