21 * Micropub access token
30 * @var Config_HostEndpoints
35 * If this host is the default one
41 public function __construct()
43 $this->endpoints = new Config_Endpoints();
46 public function loadEndpoints()
48 $this->endpoints = new Config_Endpoints();
49 $this->endpoints->load($this->server);
50 if ($this->endpoints->incomplete()) {
51 $this->endpoints->discover($this->server);
53 $this->endpoints->discoverMedia($this->token);
55 $this->endpoints->save($this->server);