class Header in Auth0 Single Sign On 8.2
Hierarchy
- class \Auth0\SDK\API\Header\Header
Expanded class hierarchy of Header
3 files declare their use of Header
- AuthorizationBearer.php in vendor/
auth0/ auth0-php/ src/ API/ Header/ Authorization/ AuthorizationBearer.php - HeaderTest.php in vendor/
auth0/ auth0-php/ tests/ API/ Header/ HeaderTest.php - RequestBuilder.php in vendor/
auth0/ auth0-php/ src/ API/ Helpers/ RequestBuilder.php
File
- vendor/
auth0/ auth0-php/ src/ API/ Header/ Header.php, line 4
Namespace
Auth0\SDK\API\HeaderView source
class Header {
/**
*
* @var string
*/
protected $header;
/**
*
* @var string
*/
protected $value;
/**
* Header constructor.
*
* @param string $header
* @param string $value
*/
public function __construct($header, $value) {
$this->header = $header;
$this->value = $value;
}
/**
*
* @return string
*/
public function getHeader() {
return $this->header;
}
/**
*
* @return string
*/
public function getValue() {
return $this->value;
}
/**
*
* @return string
*/
public function get() {
return "{$this->header}: {$this->value}\n";
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Header:: |
protected | property | ||
Header:: |
protected | property | ||
Header:: |
public | function | ||
Header:: |
public | function | ||
Header:: |
public | function | ||
Header:: |
public | function | Header constructor. | 4 |