Copied!
CloneableInstantiable
Methods
public __construct(GuzzleHttp\ClientInterface $client, ?Psr\Log\LoggerInterface $logger = NULL)
 
  • param \ClientInterface $client
  • param null|\LoggerInterface $logger
public __invoke(Psr\Http\Message\RequestInterface $request, array $options = [])
 

Accepts a PSR-7 request and an array of options and returns a PSR-7 response.

  • param \RequestInterface $request
  • param array $options
  • return \ResponseInterface
public async(Psr\Http\Message\RequestInterface $request, array $options = [])
 

Accepts a PSR-7 request and an array of options and returns a PromiseInterface

  • param \RequestInterface $request
  • param array $options
  • return \GuzzleHttp\Promise\PromiseInterface
public requestLog(Psr\Http\Message\RequestInterface $request, array $options) : Google\Auth\Logging\RpcLogEvent
 
  • internal
  • param \RequestInterface $request
  • param array $options
public responseLog(Psr\Http\Message\ResponseInterface $response, Google\Auth\Logging\RpcLogEvent $requestEvent) : void
 
  • internal
Properties
private $client = NULL
 
  • var \ClientInterface
private $logger = NULL
 
  • var null|\LoggerInterface
Methods
private getJwtToken(array $headers) : ?array
 
  • param array $headers
  • return null|array<string,string|false>
private logRequest(Google\Auth\Logging\RpcLogEvent $event) : void
 
  • param \RpcLogEvent $event
private logResponse(Google\Auth\Logging\RpcLogEvent $event) : void
 
  • param \RpcLogEvent $event
private truncatePayload(?string $payload) : ?string
 
  • param null|string $payload
  • return string
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration