WordPress\AiClient\Providers\Http\DTO

ApiKeyRequestAuthentication::getApiKeypublicWP 0.1.0

Gets the API key.

Method of the class: ApiKeyRequestAuthentication{}

No Hooks.

Returns

String. The API key.

Usage

$ApiKeyRequestAuthentication = new ApiKeyRequestAuthentication();
$ApiKeyRequestAuthentication->getApiKey(): string;

Changelog

Since 0.1.0 Introduced.

ApiKeyRequestAuthentication::getApiKey() code WP 7.0

public function getApiKey(): string
{
    return $this->apiKey;
}