Registry / auth / pascaldekloe-jwt

pascaldekloe-jwt

JSON →
library1.12.0gogounverified

Package jwt implements JSON Web Token (JWT) RFC 7519 with signatures only; no unsecured or encrypted tokens.

go get github.com/pascaldekloe/jwt
INSTALL
IMPORT
SIG · PASCALDEKLOE-JWT
P
pascaldekloe-jwt
authgov1.12.0
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/pascaldekloe/jwt

Create and sign a JWT using HMAC

package main import ( "fmt" "github.com/pascaldekloe/jwt" ) func main() { claims := jwt.Claims{} claims.Issuer = "me" token, _ := claims.HMACSign(jwt.HS256, []byte("secret")) fmt.Println(string(token)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.12.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
Resources
pascaldekloe-jwt — go get pascaldekloe-jwt · libregistry