<?php
namespace shpub;
-class Config_HostCache
+class Config_Endpoints
{
/**
* Micropub endpoint URL
*
* @var string
*/
- public $auth;
+ public $authorization;
+
+ public function incomplete()
+ {
+ return $this->authorization === null
+ || $this->token === null
+ || $this->micropub === null;
+ }
}
?>