Automattic\WooCommerce\StoreApi\Routes\V1\Agentic

CheckoutSessions::is_authorizedpublicWC 1.0

Check if the request is authorized.

Validates that the request is signed with Jetpack blog token.

Method of the class: CheckoutSessions{}

No Hooks.

Returns

true|false|\WP_Error. True if authorized, WP_Error otherwise.

Usage

$CheckoutSessions = new CheckoutSessions();
$CheckoutSessions->is_authorized();

CheckoutSessions::is_authorized() code WC 10.7.0

public function is_authorized() {
	return AgenticCheckoutUtils::validate_jetpack_request();
}