diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:32:38 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-05-18 20:49:10 +0200 |
commit | f2a01e1b0881e6a198a75d3e9b08c229d39f1e17 (patch) | |
tree | 4c734cfa25b13fac6954318b864f6cf429ef1577 /build/integration/features/bootstrap | |
parent | df3909a7c360f079d3e47401414a38dc7f3494cf (diff) | |
download | nextcloud-server-f2a01e1b0881e6a198a75d3e9b08c229d39f1e17.tar.gz nextcloud-server-f2a01e1b0881e6a198a75d3e9b08c229d39f1e17.zip |
Use a standardized Bearer now
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build/integration/features/bootstrap')
-rw-r--r-- | build/integration/features/bootstrap/Auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/Auth.php b/build/integration/features/bootstrap/Auth.php index 7addcab5f97..ae411cc7ab3 100644 --- a/build/integration/features/bootstrap/Auth.php +++ b/build/integration/features/bootstrap/Auth.php @@ -187,7 +187,7 @@ trait Auth { * @param string $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 */ public function requestingWithUsingARestrictedClientToken($url, $method) { - $this->sendRequest($url, $method, 'token ' . $this->restrictedClientToken); + $this->sendRequest($url, $method, 'Bearer ' . $this->restrictedClientToken); } /** |