Use a standardized Bearer now

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-05-18 20:32:38 +02:00
parent df3909a7c3
commit f2a01e1b08
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ trait Auth {
* @param string $method * @param string $method
*/ */
public function requestingWithUsingAnUnrestrictedClientToken($url, $method) { public function requestingWithUsingAnUnrestrictedClientToken($url, $method) {
$this->sendRequest($url, $method, 'token ' . $this->unrestrictedClientToken); $this->sendRequest($url, $method, 'Bearer ' . $this->unrestrictedClientToken);
} }
/** /**
@ -197,7 +197,7 @@ trait Auth {
* @param string $method * @param string $method
*/ */
public function requestingWithUsingARestrictedClientToken($url, $method) { public function requestingWithUsingARestrictedClientToken($url, $method) {
$this->sendRequest($url, $method, 'token ' . $this->restrictedClientToken); $this->sendRequest($url, $method, 'Bearer ' . $this->restrictedClientToken);
} }
/** /**