Page MenuHomec4science

PassphrasePasswordKey.php
No OneTemporary

File Metadata

Created
Mon, Feb 10, 07:33

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();
}
}

Event Timeline