[Pkg-owncloud-commits] [php-sabredav] 08/80: getCredentials -> getToken
David Prévot
taffit at moszumanska.debian.org
Thu Jan 7 02:56:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 96bb55be666465ebd77d81233ede01f5ae495c76
Author: François Kooman <fkooman at tuxed.net>
Date: Sat Aug 29 14:27:11 2015 +0200
getCredentials -> getToken
---
lib/DAV/Auth/Backend/AbstractBearer.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/DAV/Auth/Backend/AbstractBearer.php b/lib/DAV/Auth/Backend/AbstractBearer.php
index 19123cf..dfa2279 100644
--- a/lib/DAV/Auth/Backend/AbstractBearer.php
+++ b/lib/DAV/Auth/Backend/AbstractBearer.php
@@ -98,7 +98,7 @@ abstract class AbstractBearer implements BackendInterface {
$response
);
- $bearerToken = $auth->getCredentials($request);
+ $bearerToken = $auth->getToken($request);
if (!$bearerToken) {
return [false, "No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured"];
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list