Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Make HTTP auth adapter's challengeClient() method public #4815

Merged
merged 6 commits into from
Jul 19, 2013
Merged

Conversation

corentin-larose
Copy link
Contributor

  • changed _challengeClient() as deprecated proxy
  • pushed in the proper branch

Corentin Larose added 3 commits July 11, 2013 13:45
… since one could need to call it this way:

<code>$auth->getAdapter()->challengeClient();</code>

for instance when the authenticated user tries to access a resource for which he is not granted by ACLs.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 681abe9 on qapa:#4563 into 1166733 on zendframework:develop.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 681abe9 on qapa:#4563 into 1166733 on zendframework:develop.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 681abe9 on qapa:#4563 into 1166733 on zendframework:develop.

@mwillbanks
Copy link
Contributor

Please add in a unit test that checks for the deprecated method to throw an error and properly returns back the correct response.

@corentin-larose
Copy link
Contributor Author

My bad, should have done that.

Corentin Larose added 3 commits July 16, 2013 08:00
ZendTest\Authentication\Adapter\HttpTest::testProtectedMethodChallengeClientTriggersErrorDeprecated
 PHP_CodeCoverage_Exception: Trying to @cover not existing method "Adapter\Http::_challengeClient".
@ghost ghost assigned weierophinney Jul 19, 2013
weierophinney added a commit that referenced this pull request Jul 19, 2013
Make HTTP auth adapter's challengeClient() method public
weierophinney added a commit that referenced this pull request Jul 19, 2013
- Ensure the message indicate the method being invoked, and the
  fully-qualified method name of the replacement.
weierophinney added a commit that referenced this pull request Jul 19, 2013
@weierophinney weierophinney merged commit 9fbec37 into zendframework:develop Jul 19, 2013
weierophinney added a commit to zendframework/zend-authentication that referenced this pull request May 14, 2015
weierophinney added a commit to zendframework/zend-authentication that referenced this pull request May 14, 2015
- Ensure the message indicate the method being invoked, and the
  fully-qualified method name of the replacement.
weierophinney added a commit to zendframework/zend-authentication that referenced this pull request May 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants