You are here

public static function ApiClient::setInfoHeadersData in Auth0 Single Sign On 8.2

3 calls to ApiClient::setInfoHeadersData()
AuthHelper::setTelemetry in src/Util/AuthHelper.php
Extend Auth0 PHP SDK telemetry to report for Drupal.
InformationHeadersExtendTest::setExtendedHeaders in vendor/auth0/auth0-php/tests/API/Helpers/InformationHeadersExtendTest.php
Reset and extend telemetry headers.
InformationHeadersExtendTest::tearDownAfterClass in vendor/auth0/auth0-php/tests/API/Helpers/InformationHeadersExtendTest.php

File

vendor/auth0/auth0-php/src/API/Helpers/ApiClient.php, line 16

Class

ApiClient

Namespace

Auth0\SDK\API\Helpers

Code

public static function setInfoHeadersData(InformationHeaders $infoHeadersData) {
  if (!self::$infoHeadersDataEnabled) {
    return null;
  }
  self::$infoHeadersData = $infoHeadersData;
}