Copied!

Describes a Credentials object which supports updating request metadata (request headers).

AbstractInterface
Constants
public Google\Auth\UpdateMetadataInterface::AUTH_METADATA_KEY = 'authorization'
Methods
public abstract updateMetadata( $metadata, $authUri = NULL, ?callable $httpHandler = NULL)
 

Updates metadata with the authorization token.

  • param mixed[] $metadata metadata hashmap
  • param string $authUri optional auth uri
  • param callable|null $httpHandler callback which delivers psr7 request
  • return mixed[] updated metadata hashmap
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration