WordPress\AiClient\Providers\Http\Contracts
WithRequestAuthenticationInterface::getRequestAuthentication
Returns the request authentication.
Method of the class: WithRequestAuthenticationInterface{}
No Hooks.
Returns
RequestAuthenticationInterface. The authentication instance.
Usage
$WithRequestAuthenticationInterface = new WithRequestAuthenticationInterface(); $WithRequestAuthenticationInterface->getRequestAuthentication(): \WordPress\AiClient\Providers\Http\Contracts\RequestAuthenticationInterface;
Changelog
| Since 0.1.0 | Introduced. |
WithRequestAuthenticationInterface::getRequestAuthentication() WithRequestAuthenticationInterface::getRequestAuthentication code WP 7.0
public function getRequestAuthentication(): \WordPress\AiClient\Providers\Http\Contracts\RequestAuthenticationInterface;