WordPress\AiClient\Providers\Http\Contracts

WithRequestAuthenticationInterface::setRequestAuthenticationpublicWP 0.1.0

Sets the request authentication.

Метод класса: WithRequestAuthenticationInterface{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WithRequestAuthenticationInterface = new WithRequestAuthenticationInterface();
$WithRequestAuthenticationInterface->setRequestAuthentication( $authentication ): void;
$authentication(RequestAuthenticationInterface) (обязательный)
The authentication instance.

Список изменений

С версии 0.1.0 Введена.

Код WithRequestAuthenticationInterface::setRequestAuthentication() WP 7.0.4

public function setRequestAuthentication(\WordPress\AiClient\Providers\Http\Contracts\RequestAuthenticationInterface $authentication): void;