wp-includes/php-ai-client/src/Providers/Http/Enums/RequestAuthenticationMethod.php:18Enum for request authentication methods.
class RequestAuthenticationMethod extends AbstractEnum{ /** * API key authentication. */ public const API_KEY = 'api_key'; /** * Gets the implementation class for the authentication method. * * @since 0.4.0 * * @return class-string<RequestAuthenticationInterface&WithArrayTransformationInterface> The implementation class. * * @phpstan-ignore missingType.generics */ public function getImplementationClass(): string { // At the moment, this is the only supported method. // Once more methods are available, add conditionals here for each method. return ApiKeyRequestAuthentication::class; }}Introduced in 0.4.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/src/Providers/Http/Enums/RequestAuthenticationMethod.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.