Skip to content

Commit

Permalink
chore: revert "update Authorization to not use Bearer id"
Browse files Browse the repository at this point in the history
This reverts commit e8c2508.
  • Loading branch information
owenvoke committed Nov 8, 2021
1 parent 64a112f commit 593d2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpClient/Plugin/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private function getAuthorizationHeader(): string
{
switch ($this->method) {
case Client::AUTH_ACCESS_TOKEN:
return $this->tokenOrLogin;
return sprintf('Bearer %s', $this->tokenOrLogin);
default:
throw new RuntimeException(sprintf('%s not yet implemented', $this->method));
}
Expand Down

0 comments on commit 593d2d8

Please sign in to comment.