WordPress\AiClient\Providers\Http\DTO
ApiKeyRequestAuthentication::getApiKey
Gets the API key.
Метод класса: ApiKeyRequestAuthentication{}
Хуков нет.
Возвращает
string. The API key.
Использование
$ApiKeyRequestAuthentication = new ApiKeyRequestAuthentication(); $ApiKeyRequestAuthentication->getApiKey(): string;
Список изменений
| С версии 0.1.0 | Введена. |
Код ApiKeyRequestAuthentication::getApiKey() ApiKeyRequestAuthentication::getApiKey WP 7.1.4
public function getApiKey(): string
{
return $this->apiKey;
}