Registry / auth / kataras-jwt

kataras-jwt

JSON →
library0.1.17gogounverified

Package jwt provides a comprehensive, high-performance implementation of JSON Web Tokens (JWT) as defined in RFC 7519, with full support for JSON Web Algorithms (JWA) from RFC 7518.

go get github.com/kataras/jwt
INSTALL
IMPORT
SIG · KATARAS-JWT
K
kataras-jwt
authgov0.1.17
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/kataras/jwt

Sign a JWT using HMAC-SHA256.

package main import ( "fmt" "github.com/kataras/jwt" ) func main() { token, err := jwt.Sign(jwt.HS256, []byte("secret"), jwt.MapClaims{"sub": "1234567890"}) if err != nil { panic(err) } fmt.Println(string(token)) }
Debug
Known issues
breakingBreaking changes may occur between minor versions before v1.0.0.
fix
Pin to a specific version or check the changelog before upgrading.
affects: <1.0.0
Upgrade
Version history
0.1.17latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
kataras-jwt — go get kataras-jwt · libregistry