-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication refactoring #582
Conversation
*/ | ||
function authenticate(DAV\Server $server, $realm) { | ||
function check(RequestInterface $request, ResponseInterface $response) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New methods in this class miss visibility indicator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be used in all subclasses but the interface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@staabm I've actually removed public
everywhere in all the master branches.
I think when public/private/protected was a thing for the first time when PHP 5.0 first came out, I wanted to specify it everywhere.. but now I find that it looks cleaner and clearer without :P The entire public
keyword is pretty much has no purpose :)
@@ -17,7 +17,7 @@ | |||
"php": ">=5.4.1", | |||
"sabre/vobject": "~3.3.4", | |||
"sabre/event" : "~2.0.0", | |||
"sabre/http" : "~3.0.0", | |||
"sabre/http" : "dev-master", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed the latest (unreleased) bugfix from that branch. Will switch back to a stable version as soon as a release happened on that side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok.
Since Sabre 3.0.6 this is no longer possible. @see sabre-io/dav#582 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This PR has the following changes:
Fixes #191