WordPress\AiClient\Providers\Http\DTO

ApiKeyRequestAuthentication::__constructpublicWP 0.1.0

Constructor.

Method of the class: ApiKeyRequestAuthentication{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ApiKeyRequestAuthentication = new ApiKeyRequestAuthentication();
$ApiKeyRequestAuthentication->__construct( $apiKey );
$apiKey(string) (required)
The API key used for authentication.

Changelog

Since 0.1.0 Introduced.

ApiKeyRequestAuthentication::__construct() code WP 7.0

public function __construct(string $apiKey)
{
    $this->apiKey = $apiKey;
}