[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/src/Providers/Http/Contracts/ -> WithRequestAuthenticationInterface.php (source)

   1  <?php
   2  
   3  declare (strict_types=1);
   4  namespace WordPress\AiClient\Providers\Http\Contracts;
   5  
   6  /**
   7   * Interface for models that support request authentication.
   8   *
   9   * @since 0.1.0
  10   */
  11  interface WithRequestAuthenticationInterface
  12  {
  13      /**
  14       * Sets the request authentication.
  15       *
  16       * @since 0.1.0
  17       *
  18       * @param RequestAuthenticationInterface $authentication The authentication instance.
  19       * @return void
  20       */
  21      public function setRequestAuthentication(\WordPress\AiClient\Providers\Http\Contracts\RequestAuthenticationInterface $authentication): void;
  22      /**
  23       * Returns the request authentication.
  24       *
  25       * @since 0.1.0
  26       *
  27       * @return RequestAuthenticationInterface The authentication instance.
  28       */
  29      public function getRequestAuthentication(): \WordPress\AiClient\Providers\Http\Contracts\RequestAuthenticationInterface;
  30  }


Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref