You are here

public function RequestBuilder::withHeaders in Auth0 Single Sign On 8.2

Parameters

$headers:

Return value

RequestBuilder

File

vendor/auth0/auth0-php/src/API/Helpers/RequestBuilder.php, line 320

Class

RequestBuilder
Class RequestBuilder

Namespace

Auth0\SDK\API\Helpers

Code

public function withHeaders($headers) {
  foreach ($headers as $header) {
    $this
      ->withHeader($header);
  }
  return $this;
}