WordPress\AiClient\Providers\Http\Enums

RequestAuthenticationMethod::getImplementationClass │ public │ WP 0.4.0

Gets the implementation class for the authentication method.

Метод класса: RequestAuthenticationMethod{}

Хуков нет.

Возвращает

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

Использование

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

Список изменений

С версии 0.4.0 Введена.

Код RequestAuthenticationMethod::getImplementationClass() WP 7.1.2

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