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