You are here

class AuthorizationBearer in Auth0 Single Sign On 8.2

Hierarchy

Expanded class hierarchy of AuthorizationBearer

3 files declare their use of AuthorizationBearer
Authentication.php in vendor/auth0/auth0-php/src/API/Authentication.php
HeaderTest.php in vendor/auth0/auth0-php/tests/API/Header/HeaderTest.php
Management.php in vendor/auth0/auth0-php/src/API/Management.php

File

vendor/auth0/auth0-php/src/API/Header/Authorization/AuthorizationBearer.php, line 6

Namespace

Auth0\SDK\API\Header\Authorization
View source
class AuthorizationBearer extends Header {

  /**
   * AuthorizationBearer constructor.
   *
   * @param string $token
   */
  public function __construct($token) {
    parent::__construct('Authorization', "Bearer {$token}");
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AuthorizationBearer::__construct public function AuthorizationBearer constructor. Overrides Header::__construct
Header::$header protected property
Header::$value protected property
Header::get public function
Header::getHeader public function
Header::getValue public function