import "gopkg.in/jwt.v1"
claims := NewClaims()
claims.RegisterAud("example.com", "api.example.com")
header := NewHeader()
header.Register(HEADER_TYPE, "JWT")
header.Register(HEADER_ALGORITHM, "ES256")
tk := NewToken(claims, header, key)
This repository was archived by the owner on Jun 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
an JSON Web Tokens (JWT) project for golang
License
go-jwt/old-jwt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
an JSON Web Tokens (JWT) project for golang
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published