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

silvermine / apigateway-utils / 39 / 1
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2018 02:56AM UTC
Files 7
Run time 0s
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

25 Jan 2018 02:55AM UTC coverage: 100.0%. Remained the same
39.1

Pull #7

travis-ci

web-flow
BREAKING: Expose JWT validation, change validateAuthorizationHeader

This commit exposes JWT validation as a utility, but in doing so also introduces a
**breaking change** that allows `JWTSecuredRequest.validateAuthorizationHeader` to return
multiple errors.

The format before was:

```
{ isValid: true }
// or:
{ isValid: false, msg: 'User-visible message', err: 'More details for developer' }
```

The format now is:

```
{ errors: [], token: {} }; // (token is the decoded JWT object)
// or:
{
   errors: [ { msg: 'User-visible message', err: 'More details for developer' } ],
   token: {},
}
```

In this new format: there may be multiple errors; Also, token is the decoded JWT, and is
undefined if the JWT could not be decoded.
Pull Request #7: BREAKING: Expose JWT validation, change validateAuthorizationHeader

181 of 181 relevant lines covered (100.0%)

25.38 hits per line

Source Files on job 39.1
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 39
  • Travis Job 39.1
  • 255de652 on github
  • Prev Job for on master (#35.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

© 2025 Coveralls, Inc