WordPress\AiClient\Providers\DTO
ProviderMetadata::getAuthenticationMethod
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() ProviderMetadata::getAuthenticationMethod code WP 7.0
public function getAuthenticationMethod(): ?RequestAuthenticationMethod
{
return $this->authenticationMethod;
}