Registry / auth / nats-io-jwt

nats-io-jwt

JSON →
library2.8.1+incompatiblegogounverified

JWT implementation for NATS, providing authentication and authorization tokens.

go get github.com/nats-io/jwt
INSTALL
IMPORT
SIG · NATS-IO-JWT
N
nats-io-jwt
authgov2.8.1+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jwt
github.com/nats-io/jwt/v2

Creates a new NATS user claims object.

package main import ( "fmt" "github.com/nats-io/jwt/v2" ) func main() { uc := jwt.NewUserClaims() fmt.Println(uc) }
Debug
Known issues
breakingVersion 2.x has breaking changes from v1.x, including API changes and new claim types.
fix
Use v2 import path and update code accordingly.
affects: >=2.0.0
Upgrade
Version history
2.8.1+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Amazon
1
Resources
nats-io-jwt — go get nats-io-jwt · libregistry