Page MenuHomePhorge

PhabricatorExternalAccount.php
No OneTemporary

Size
670 B
Referenced Files
None
Subscribers
None

PhabricatorExternalAccount.php

<?php
final class PhabricatorExternalAccount extends PhabricatorUserDAO {
protected $userPHID;
protected $accountType;
protected $accountDomain;
protected $accountSecret;
protected $accountID;
protected $displayName;
public function generatePHID() {
return PhabricatorPHID::generateNewPHID(
PhabricatorPHIDConstants::PHID_TYPE_XUSR);
}
public function getConfiguration() {
return array(
self::CONFIG_AUX_PHID => true,
) + parent::getConfiguration();
}
public function getPhabricatorUser() {
$tmp_usr = id(new PhabricatorUser())
->makeEphemeral()
->setPHID($this->getPHID());
return $tmp_usr;
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Sep 16, 1:31 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
441560
Default Alt Text
PhabricatorExternalAccount.php (670 B)

Event Timeline