Path: blob/master/src/applications/auth/adapter/PhutilEmptyAuthAdapter.php
12256 views
<?php12/**3* Empty authentication adapter with no logic.4*5* This adapter can be used when you need an adapter for some technical reason6* but it doesn't make sense to put logic inside it.7*/8final class PhutilEmptyAuthAdapter extends PhutilAuthAdapter {910private $accountID;11private $adapterType;12private $adapterDomain;1314public function setAdapterDomain($adapter_domain) {15$this->adapterDomain = $adapter_domain;16return $this;17}1819public function getAdapterDomain() {20return $this->adapterDomain;21}2223public function setAdapterType($adapter_type) {24$this->adapterType = $adapter_type;25return $this;26}2728public function getAdapterType() {29return $this->adapterType;30}3132public function setAccountID($account_id) {33$this->accountID = $account_id;34return $this;35}3637public function getAccountID() {38return $this->accountID;39}4041}424344