You are here

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

2 calls to ApiClient::getInfoHeadersData()
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.

File

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

Class

ApiClient

Namespace

Auth0\SDK\API\Helpers

Code

public static function getInfoHeadersData() {
  if (!self::$infoHeadersDataEnabled) {
    return null;
  }
  if (self::$infoHeadersData === null) {
    self::$infoHeadersData = new InformationHeaders();
    self::$infoHeadersData
      ->setCorePackage();
  }
  return self::$infoHeadersData;
}