ProviderMetadata::getAuthenticationMethod(): WordPressAiClientProvidersHttpEnumsRequestAuthenticationMethod|null

In this article

Gets the authentication method.

Return

WordPressAiClientProvidersHttpEnumsRequestAuthenticationMethod|null The authentication method.

Source

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

Changelog

VersionDescription
0.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.