CoreFiles by mySites.guru
RequestAuthenticationInterface.php24 lines, 621 bytes, from wordpress-7.2-beta2.zip
Raw History Compare with 7.2-beta1
md5
767eae80473a32c952275601432078ea
sha1
4593ef03b4b0366173df935b99b5af87b04f9447
sha256
3a75caa6a1b578e8fe297a7c2fd0472b9219de5686a4e8f8edb11eb44f154aa8
<?php

declare (strict_types=1);
namespace WordPress\AiClient\Providers\Http\Contracts;

use WordPress\AiClient\Common\Contracts\WithJsonSchemaInterface;
use WordPress\AiClient\Providers\Http\DTO\Request;
/**
 * Interface for HTTP request authentication.
 *
 * @since 0.1.0
 */
interface RequestAuthenticationInterface extends WithJsonSchemaInterface
{
    /**
     * Authenticates an HTTP request.
     *
     * @since 0.1.0
     *
     * @param Request $request The request to authenticate.
     * @return Request The authenticated request.
     */
    public function authenticateRequest(Request $request): Request;
}

The same content is in 41 releases, WordPress 7.0-beta1 to 7.2-RC1. See them all, or every version of this file.