Skip to content

Add new RequestMatch authentication method #35

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

Merged
merged 1 commit into from
Mar 4, 2016
Merged

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Mar 2, 2016

@sagikazarmark found this branch lying around. it seems to add on #34 - is it relevant?

*
* @author Márk Sági-Kazár <[email protected]>
*/
final class RequestMatch implements Authentication
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we could call this ConditionalAuthentication?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should somehow have the request in the name...otherwise what condition would it be?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RequestConditional?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RequestAware?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fear we can't find a self-explanatory name enough, we have to document it anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would like RequestConditional better. and explain it - the phpdoc above looks fine to me.

@sagikazarmark
Copy link
Member

Yeah, I replaced the matching auth with the request matcher interface one. It indeed relied on that PR, as the deprecated matcher now uses the callback request matcher internally.

@sagikazarmark sagikazarmark force-pushed the match_auth branch 2 times, most recently from 7ab3a93 to 9239314 Compare March 2, 2016 10:13
sagikazarmark added a commit that referenced this pull request Mar 4, 2016
Add new RequestMatch authentication method
@sagikazarmark sagikazarmark merged commit fe9938e into master Mar 4, 2016
@sagikazarmark sagikazarmark deleted the match_auth branch March 4, 2016 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants