CoreFiles by mySites.guru
WithRequestAuthenticationInterface.php30 lines, 864 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
f8c175e56cdc0526f954739349428813
sha1
8733b057aa5d550355f50314cdf677aabf978dff
sha256
9fb3865efd26a4c1f2ad1179516a9456c76e00d9b20429234d4ac783145ea8b4
<?php

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

/**
 * Interface for models that support request authentication.
 *
 * @since 0.1.0
 */
interface WithRequestAuthenticationInterface
{
    /**
     * Sets the request authentication.
     *
     * @since 0.1.0
     *
     * @param RequestAuthenticationInterface $authentication The authentication instance.
     * @return void
     */
    public function setRequestAuthentication(\WordPress\AiClient\Providers\Http\Contracts\RequestAuthenticationInterface $authentication): void;
    /**
     * Returns the request authentication.
     *
     * @since 0.1.0
     *
     * @return RequestAuthenticationInterface The authentication instance.
     */
    public function getRequestAuthentication(): \WordPress\AiClient\Providers\Http\Contracts\RequestAuthenticationInterface;
}

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