RequestAuthenticationMethod::getImplementationClass(): WordPressAiClientProvidersHttpEnumsclass-string<RequestAuthenticationInterface&WithArrayTransformationInterface>

In this article

Gets the implementation class for the authentication method.

Return

WordPressAiClientProvidersHttpEnumsclass-string<RequestAuthenticationInterface&WithArrayTransformationInterface> The implementation class.

Source

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;
}

Changelog

VersionDescription
0.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.