[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/passphrase/keys/ -> PassphrasePasswordKey.php (source)

   1  <?php
   2  
   3  final class PassphrasePasswordKey extends PassphraseAbstractKey {
   4  
   5    public static function loadFromPHID($phid, PhabricatorUser $viewer) {
   6      $key = new PassphrasePasswordKey();
   7      return $key->loadAndValidateFromPHID(
   8        $phid,
   9        $viewer,
  10        PassphraseCredentialTypePassword::PROVIDES_TYPE);
  11    }
  12  
  13    public function getPasswordEnvelope() {
  14      return $this->requireCredential()->getSecret();
  15    }
  16  
  17  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1