You are here

AuthorizationBearer.php in Auth0 Single Sign On 8.2

File

vendor/auth0/auth0-php/src/API/Header/Authorization/AuthorizationBearer.php
View source
<?php

namespace Auth0\SDK\API\Header\Authorization;

use Auth0\SDK\API\Header\Header;
class AuthorizationBearer extends Header {

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

}

Classes