WordPress\AiClient\Providers\DTO
ProviderMetadata::getAuthenticationMethod
Gets the authentication method.
Метод класса: ProviderMetadata{}
Хуков нет.
Возвращает
RequestAuthenticationMethod|null. The authentication method.
Использование
$ProviderMetadata = new ProviderMetadata(); $ProviderMetadata->getAuthenticationMethod(): ?RequestAuthenticationMethod;
Список изменений
| С версии 0.4.0 | Введена. |
Код ProviderMetadata::getAuthenticationMethod() ProviderMetadata::getAuthenticationMethod WP 7.1.2
public function getAuthenticationMethod(): ?RequestAuthenticationMethod
{
return $this->authenticationMethod;
}