/var/www/vhosts/nabawater/vendor/php-http/message/src/Authentication
NameSizeModeActions
AutoBasicAuth.php11630644editdlrm
BasicAuth.php9060644editdlrm
Bearer.php6950644editdlrm
Chain.php11940644editdlrm
Matching.php19870644editdlrm
QueryParam.php11480644editdlrm
RequestConditional.php10940644editdlrm
Wsse.php13220644editdlrm
Edit: /var/www/vhosts/nabawater/vendor/php-http/message/src/Authentication/Bearer.php (695B)
*/ final class Bearer implements Authentication { /** * @var string */ private $token; /** * @param string $token */ public function __construct($token) { $this->token = $token; } /** * {@inheritdoc} */ public function authenticate(RequestInterface $request) { $header = sprintf('Bearer %s', $this->token); return $request->withHeader('Authorization', $header); } }