| @@ -17,12 +17,16 @@ | ||
| 17 | 17 | public function is_connected() { |
| 18 | 18 | return $this->connect->is_connected(); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function is_activated() : bool { | |
| 21 | + public function is_activated(): bool { | |
| 22 | 22 | return $this->connect->is_activated(); |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | + public function is_valid_home_url(): bool { | |
| 26 | + return $this->connect->is_valid_home_url(); | |
| 27 | + } | |
| 28 | + | |
| 25 | 29 | public function get_connect_status() { |
| 26 | 30 | return $this->connect->get_connect_status(); |
| 27 | 31 | } |
| 28 | 32 | |
| @@ -33,9 +37,9 @@ | ||
| 33 | 37 | public function update_usage_data( $new_usage_data ): void { |
| 34 | 38 | $this->connect->update_usage_data( $new_usage_data ); |
| 35 | 39 | } |
| 36 | 40 | |
| 37 | - public function get_activation_state() : string { | |
| 41 | + public function get_activation_state(): string { | |
| 38 | 42 | return $this->connect->get_activation_state(); |
| 39 | 43 | } |
| 40 | 44 | |
| 41 | 45 | public function get_access_token() { |
| @@ -43,8 +47,12 @@ | ||
| 43 | 47 | } |
| 44 | 48 | |
| 45 | 49 | public function get_client_id(): string { |
| 46 | 50 | return $this->connect->get_client_id(); |
| 51 | + } | |
| 52 | + | |
| 53 | + public function get_client_secret(): string { | |
| 54 | + return $this->connect->get_client_secret(); | |
| 47 | 55 | } |
| 48 | 56 | |
| 49 | 57 | public function images_left(): int { |
| 50 | 58 | return $this->connect->images_left(); |