UpdateMetadataTrait
trait UpdateMetadataTrait (View source)
Provides shared methods for updating request metadata (request headers).
Should implement {see UpdateMetadataInterface} and {see FetchAuthTokenInterface}.
Methods
callable
array
updateMetadata(array $metadata, string $authUri = null, callable $httpHandler = null)
Updates metadata with the authorization token.