]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use a standardized Bearer now
authorLukas Reschke <lukas@statuscode.ch>
Thu, 18 May 2017 18:32:38 +0000 (20:32 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 18 May 2017 18:49:10 +0000 (20:49 +0200)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
build/integration/features/bootstrap/Auth.php

index 7addcab5f976ca02a154a5c1b03ad868194cc7b4..ae411cc7ab3c3098f9ae322e7294d92adc15ae4f 100644 (file)
@@ -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);
        }
 
        /**