You are here

public function AuthorizationBearer::__construct in Auth0 Single Sign On 8.2

AuthorizationBearer constructor.

Parameters

string $token:

Overrides Header::__construct

File

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

Class

AuthorizationBearer

Namespace

Auth0\SDK\API\Header\Authorization

Code

public function __construct($token) {
  parent::__construct('Authorization', "Bearer {$token}");
}