mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
dc6cfe6e01
Summary: Created PhabricatorExternalAccount class with only data members. Will discuss with you regarding the necessary functions to be implemented in this class. Sql Patch to create a new table for external_accounts. Will I have to write unit tests the new storage object? Sending you this diff so that you can comment on this to further improve :). Test Plan: {F40977} Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin, AnhNhan Maniphest Tasks: T1536, T1205 Differential Revision: https://secure.phabricator.com/D5724
17 lines
390 B
PHP
17 lines
390 B
PHP
<?php
|
|
|
|
final class PhabricatorExternalAccount extends PhabricatorUserDAO {
|
|
|
|
private $phid;
|
|
private $userPHID;
|
|
private $accountType;
|
|
private $accountDomain;
|
|
private $accountSecret;
|
|
private $accountID;
|
|
private $displayName;
|
|
|
|
public function generatePHID() {
|
|
return PhabricatorPHID::generateNewPHID(
|
|
PhabricatorPHIDConstants::PHID_TYPE_XUSR);
|
|
}
|
|
}
|