WordPress\AiClient\Providers\Http\DTO
ApiKeyRequestAuthentication::getApiKey
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() ApiKeyRequestAuthentication::getApiKey code WP 7.0
public function getApiKey(): string
{
return $this->apiKey;
}