• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sparkphp / auth / 10 / 1
94%
master: 99%

Build:
Build:
LAST BUILD BRANCH: hotfix/exceptions
DEFAULT BRANCH: master
Ran 30 Sep 2015 10:51PM UTC
Files 12
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Sep 2015 10:49PM UTC coverage: 98.387%. Remained the same
10.1

push

travis-ci

elazar
Completely rearchitect how this library works

And fix a few small things dicovered in the process.

Changes
* Remove AbstractAuthenticator, because it involves too many
  concerns -- see #1 for related discussion
* Remove permission-related code, because it appears to be unused
  and relates to authorization rather than authentication
* Add the Token and Credentials value object classes to encapsulate
  authentication token metadata and user credentials respectively
* Add ExtractorInterface, HeaderExtractor, and QueryExtractor under
  the Token subnamespace for extracting authentication token strings
  from ServerRequestInterface instances
* Add ExtractorInterface and JsonExtractor under the Credentials
  subnamespace for extracting user credentials from
  ServerRequestInterface instances
* Add AdapterInterface to represent authentication adapters for
  validating authentication tokens and user credentials
* Add UnauthorizedException for when authentication fails due to
  the request lacking an authentication token and user credentials
* Modify AuthHandler to use authentication adapter, token extractor,
  user credentials extractor, and UnauthorizedException instances
  where appropriate
* Remove FakeAuthenticator from test suite
* Modify the test suite to use Phake for mocking

Fixes
* Update broken badges in README
* Tweak Composer dependency versions to use the carot operator
* Make AuthHandler explicitly implement MiddlewareInterface
* Modify getStatusCode() return values for AuthException and
  InvalidException to be appropriate for their use cases

61 of 62 relevant lines covered (98.39%)

3.13 hits per line

Source Files on job 10.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10
  • Travis Job 10.1
  • f740cb3e on github
  • Prev Job for on feature/refactor (#9.1)
  • Next Job for on feature/refactor (#11.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc