Google API Core Client - Class CredentialsWrapperMiddleware (1.35.1)

Reference documentation and code samples for the Google API Core Client class CredentialsWrapperMiddleware.

Middleware which adds a CredentialsWrapper object to the call options.

Namespace

Google \ ApiCore \ Middleware

Methods

__construct

Parameters
Name
Description
nextHandler
callable
credentialsWrapper
Google\ApiCore\HeaderCredentialsInterface

__invoke

Modify or observe the API call request and response.

The returned value must include the result of the next MiddlewareInterface invocation in the chain.

Parameters
Name
Description
options
array
Design a Mobile Site
View Site in Mobile | Classic
Share by: