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

alexferl / zerohttp / 22814591209 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 08 Mar 2026 05:18AM UTC
Files 52
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

08 Mar 2026 03:45AM UTC coverage: 93.154% (+0.04%) from 93.113%
22814591209.1

push

github

web-flow
feat: add JWT authentication middleware (#39)

* feat: add JWT authentication middleware

Add pluggable JWT authentication with TokenStore interface, allowing users
to bring their own JWT library (golang-jwt/jwt, lestrrat-go/jwx) or use
the built-in zero-dependency HS256 implementation.

Features:
  - TokenStore interface for custom JWT implementations
  - Built-in HS256 TokenStore (standard library only)
  - Access token and refresh token generation
  - Token revocation support with IsRevoked() checking
  - Refresh token rotation (new refresh token on each refresh)
  - Built-in refresh and logout handlers
  - Customizable token extraction (header, cookie, etc.)
  - RFC 9457 Problem Details error responses

Signed-off-by: alexferl <me@alexferl.com>

* convert aud to slice

Signed-off-by: alexferl <me@alexferl.com>

---------

Signed-off-by: alexferl <me@alexferl.com>

6736 of 7231 relevant lines covered (93.15%)

28.36 hits per line

Source Files on job 22814591209.1
  • Tree
  • List 52
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22814591209
  • bfa955d9 on github
  • Prev Job for on master (#22806424706.1)
  • Next Job for on master (#22814681014.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