WordPress\AiClient\Providers\Http\Enums
RequestAuthenticationMethod::getImplementationClass
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() 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;
}