WordPress\AiClient\Providers\Http\DTO
ApiKeyRequestAuthentication::getJsonSchema
{@inheritDoc}
Метод класса: ApiKeyRequestAuthentication{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = ApiKeyRequestAuthentication::getJsonSchema(): array;
Список изменений
| С версии 0.1.0 | Введена. |
Код ApiKeyRequestAuthentication::getJsonSchema() ApiKeyRequestAuthentication::getJsonSchema WP 7.1.2
public static function getJsonSchema(): array
{
return ['type' => 'object', 'properties' => [self::KEY_API_KEY => ['type' => 'string', 'title' => 'API Key', 'description' => 'The API key used for authentication.']], 'required' => [self::KEY_API_KEY]];
}