Logo
Explore Help
Sign In
go/httpauth-jwt
2
0
Fork 0
You've already forked httpauth-jwt
Code Issues Pull Requests Packages Releases 1 Activity
Files
d8773b0f9fd5975f393ea4d4184be60122e3dfa6
httpauth-jwt/go.mod

11 lines
198 B
Modula-2
Raw Normal View History

feat(httpauth-jwt): initial release — self-issued JWT auth middleware v1.0.0 Provides AuthMiddleware (calls httpauth.SetTokenData, accepts Verifier or Signer), IssueTokenPair (access + refresh tokens as jwt.MapClaims, custom claims at top level for ClaimsPermissionProvider compatibility), RefreshTokenPair (blacklist check + rotation + re-issue), and Signer/Verifier implementations for HMAC-SHA256 and RSA-SHA256 including PEM loaders and a public-key-only Verifier for read-only microservices.
2026-05-07 22:18:04 -06:00
module code.nochebuena.dev/go/httpauth-jwt
go 1.25
require (
code.nochebuena.dev/go/httpauth v0.1.0
github.com/golang-jwt/jwt/v5 v5.2.1
)
require code.nochebuena.dev/go/rbac v0.9.0 // indirect
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 23ms Template: 2ms
English
English
Licenses API