Skip to content
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

Fix #43 #53

Merged
merged 2 commits into from
May 31, 2017
Merged

Fix #43 #53

merged 2 commits into from
May 31, 2017

Conversation

hmic
Copy link
Contributor

@hmic hmic commented Apr 28, 2017

Check if the Authorization header prefix fits the expected value, don't try to decode wrong data.
No exceptions thrown on wrong prefix so that other Auth methods can continue (Basic).

Testcases need to be updated :p

Check if the Authorization header prefix fits the expected value, don't try to decode wrong data.
No exceptions thrown on wrong prefix so that other Auth methods can continue (Basic).

Testcases need to be updated :p
@codecov
Copy link

codecov bot commented Apr 28, 2017

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #53   +/-   ##
=========================================
  Coverage     94.11%   94.11%           
- Complexity       21       22    +1     
=========================================
  Files             1        1           
  Lines            51       51           
=========================================
  Hits             48       48           
  Misses            3        3
Impacted Files Coverage Δ Complexity Δ
src/Auth/JwtAuthenticate.php 94.11% <100%> (ø) 22 <0> (+1) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c010113...29bc9aa. Read the comment docs.

@ADmad
Copy link
Owner

ADmad commented Apr 28, 2017

Didn't expect you to be so lazy and use the web editor to submit PR 😛

@ADmad
Copy link
Owner

ADmad commented May 29, 2017

@hmic Do you mind adding a test case for this so that it can be merged.

@ADmad ADmad merged commit b49fbc9 into ADmad:master May 31, 2017
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