WordPress\AiClient\Providers\DTO

ProviderMetadata::getAuthenticationMethodpublicWP 0.4.0

Gets the authentication method.

Method of the class: ProviderMetadata{}

No Hooks.

Returns

RequestAuthenticationMethod|null. The authentication method.

Usage

$ProviderMetadata = new ProviderMetadata();
$ProviderMetadata->getAuthenticationMethod(): ?RequestAuthenticationMethod;

Changelog

Since 0.4.0 Introduced.

ProviderMetadata::getAuthenticationMethod() code WP 7.0

public function getAuthenticationMethod(): ?RequestAuthenticationMethod
{
    return $this->authenticationMethod;
}