[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/src/Providers/Http/DTO/ -> ApiKeyRequestAuthentication.php (summary)

(no description)

File Size: 92 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ApiKeyRequestAuthentication:: (6 methods):
  __construct()
  authenticateRequest()
  getApiKey()
  toArray()
  fromArray()
  getJsonSchema()


Class: ApiKeyRequestAuthentication  - X-Ref

Class for HTTP request authentication using an API key.

__construct(string $apiKey)   X-Ref
Constructor.

param: string $apiKey The API key used for authentication.

authenticateRequest(\WordPress\AiClient\Providers\Http\DTO\Request $request)   X-Ref
{@inheritDoc}


getApiKey()   X-Ref
Gets the API key.

return: string The API key.

toArray()   X-Ref
{@inheritDoc}

return: ApiKeyRequestAuthenticationArrayShape

fromArray(array $array)   X-Ref
{@inheritDoc}


getJsonSchema()   X-Ref
{@inheritDoc}




Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref