Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / auth / adapter / PhutilEmptyAuthAdapter.php
bloba59dddd2624d1b45f264604e937eec38adf240a4
1 <?php
3 /**
4 * Empty authentication adapter with no logic.
6 * This adapter can be used when you need an adapter for some technical reason
7 * but it doesn't make sense to put logic inside it.
8 */
9 final class PhutilEmptyAuthAdapter extends PhutilAuthAdapter {
11 private $accountID;
12 private $adapterType;
13 private $adapterDomain;
15 public function setAdapterDomain($adapter_domain) {
16 $this->adapterDomain = $adapter_domain;
17 return $this;
20 public function getAdapterDomain() {
21 return $this->adapterDomain;
24 public function setAdapterType($adapter_type) {
25 $this->adapterType = $adapter_type;
26 return $this;
29 public function getAdapterType() {
30 return $this->adapterType;
33 public function setAccountID($account_id) {
34 $this->accountID = $account_id;
35 return $this;
38 public function getAccountID() {
39 return $this->accountID;