WordPress\AiClient\Providers\Http\DTO

ApiKeyRequestAuthentication::getApiKey │ public │ WP 0.1.0

Gets the API key.

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

Хуков нет.

Возвращает

string. The API key.

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

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

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

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

Код ApiKeyRequestAuthentication::getApiKey() WP 7.1.4

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