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

adonisjs / adonis-auth / 105 / 2
13%
develop: 13%

Build:
DEFAULT BRANCH: develop
Ran 17 May 2017 06:11AM UTC
Files 14
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

17 May 2017 06:10AM UTC coverage: 97.697% (+0.02%) from 97.674%
CXX=g++-4.8

push

travis-ci

thetutlage
Updating jwt.Attempt() to accept custom payload (#39)

* fix(jwt): Allowed jwt.attempt() to accept an optional payload

With recent work on jwt.generate(), that function signature was updated to allow a user to push a
custom payload into the JWT that was created. Since jwt.attempt() uses jwt.generate() internally,
this fix just updates the jwt.attempt() method to allow also adding a custom payload

adonisjs/adonis-auth/issues/38

* test(jwt): JWT.attempt() test for updated method signature

Added a test for verifying JWT.attempt() works properly when you include a custom payload for the
token generation.

145 of 158 branches covered (91.77%)

297 of 304 relevant lines covered (97.7%)

9.66 hits per line

Source Files on job 105.2 (CXX=g++-4.8)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 105
  • Travis Job 105.2
  • 3c4a2b4d on github
  • Prev Job for CXX=g++-4.8 on develop (#94.3)
  • Next Job for CXX=g++-4.8 on develop (#106.3)
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