Page MenuHomec4science

PassphrasePasswordKey.php
No OneTemporary

File Metadata

Created
Wed, Nov 20, 14:37

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