HEX
Server: Apache
System: Linux 4801f1b1.ptr.provps.com 6.17.8-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 13 18:02:25 EST 2025 x86_64
User: nassaugo (1004)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nassaugo/public_html/wp-content/plugins/wp-rocket/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();
}