This repository was archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Fix PHP Warning if no colon is present in decoded basic-auth payload #9
Merged
+113
−26
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f8e478d
#8 refactored tests
BreiteSeite 6ef417e
#8 make authenticate method more robust
BreiteSeite f3bda5f
#8 added changelog
BreiteSeite 7445acd
#8 updated changelog skeleton
BreiteSeite f31d870
#8 removed void return-type hints after review
BreiteSeite 29e27fd
#8 use getHeaderLine() instead of getHeader()
BreiteSeite 887c846
#8 refactored test to getHeaderLine() method
BreiteSeite 2fe9738
Revert "#8 refactored test to getHeaderLine() method"
BreiteSeite 5c812bc
Revert "#8 use getHeaderLine() instead of getHeader()"
BreiteSeite e541416
#8 don't authorize if multiple auth header are sent
BreiteSeite 3b538b3
#8 assert that invalid data never tries to authenticate
BreiteSeite f739237
#8 test with dataProvider shouldn't have static assertion
BreiteSeite 635e0e4
#8 fixed test-assertions after reading the spec
BreiteSeite 10c3f6d
#8 use short-list syntax instead of array_shift
BreiteSeite c5b0dab
#8 revert short list syntax
BreiteSeite 829040f
#8 check authentication handles unicode-characters
BreiteSeite 5a64706
#8 small formatting improvement
BreiteSeite 17aa40e
#8 remove assertion that only tests mock-behaviour
BreiteSeite b7a8388
#8 remove variable naming inconsistencies
BreiteSeite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Just a note for anybody else reviewing: this test becomes redundant, as it is covered by the
empty
set of theprovideInvalidAuthenticationHeader
provider used by the newtestIsAuthenticatedWithInvalidData
test case.