HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/bt667/www/wp-content/plugins/wp-rocket-old/inc/Addon/Cloudflare/Auth/AuthInterface.php
<?php

namespace WP_Rocket\Addon\Cloudflare\Auth;

use WP_Error;

interface AuthInterface {
	/**
	 * Gets headers for Cloudflare API request
	 *
	 * @return array
	 */
	public function get_headers(): array;

	/**
	 * Checks if the credentials are set.
	 *
	 * @return bool|WP_Error true if authorized, false otherwise, WP_Error if missing credentials.
	 */
	public function is_valid_credentials();
}