WordPress\AiClient\Providers\Http\Enums

RequestAuthenticationMethod::getImplementationClasspublicWP 0.4.0

Gets the implementation class for the authentication method.

Method of the class: RequestAuthenticationMethod{}

No Hooks.

Returns

class-String. The implementation class.

Usage

$RequestAuthenticationMethod = new RequestAuthenticationMethod();
$RequestAuthenticationMethod->getImplementationClass(): string;

Changelog

Since 0.4.0 Introduced.

RequestAuthenticationMethod::getImplementationClass() code WP 7.0

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