WordPress\AiClient\Providers\DTO

ProviderMetadata::getAuthenticationMethod │ public │ WP 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.1.3

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