MCPcopy Index your code
hub / github.com/SermoDigital/jose

github.com/SermoDigital/jose @1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.1 ↗ · + Follow
298 symbols 899 edges 49 files 218 documented · 73% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

JOSE

Build Status GoDoc

JOSE is a comprehensive set of JWT, JWS, and JWE libraries.

Why

The only other JWS/JWE/JWT implementations are specific to JWT, and none were particularly pleasant to work with.

These libraries should provide an easy, straightforward way to securely create, parse, and validate JWS, JWE, and JWTs.

Notes:

JWE is currently unimplemented.

Version 0.9:

Documentation

The docs can be found at godoc.org, as usual.

A gopkg.in mirror can be found at https://gopkg.in/jose.v1, thanks to @zia-newversion. (For context, see #30.)

JWS RFC

JWE RFC

JWT RFC

License

MIT.

Extension points exported contracts — how you extend this code

SigningMethod (Interface)
SigningMethod is an interface that provides a way to sign JWS tokens. [5 implementers]
crypto/signing_method.go
Encoder (Interface)
Encoder is satisfied if the type can marshal itself into a valid structure for a JWS. [1 implementers]
base64.go
JWS (Interface)
JWS implements a JWS per RFC 7515. [1 implementers]
jws/jws.go
JWT (Interface)
JWT represents a JWT per RFC 7519. It's described as an interface instead of a physical structure because both JWS and J [1 …
jwt/jwt.go
VerifyCallback (FuncType)
VerifyCallback is a callback function that can be used to access header parameters to lookup needed information. For exa
jws/jws_validate.go
ValidateFunc (FuncType)
ValidateFunc is a function that provides access to the JWT and allows for custom validation. Keep in mind that the Verif
jwt/jwt.go

Core symbols most depended-on inside this repo

Error
called by 71
jws/jws_validate.go
Claims
called by 45
jwt/jwt.go
Alg
called by 21
crypto/signing_method.go
New
called by 19
jws/jws.go
Set
called by 14
jwt/claims.go
Get
called by 12
jws/claims.go
General
called by 9
jws/jws.go
ParseGeneral
called by 8
jws/jws.go

Shape

Method 182
Function 86
Struct 15
TypeAlias 9
Interface 4
FuncType 2

Languages

Go100%

Modules by API surface

jws/jws.go41 symbols
jwt/claims.go33 symbols
jws/claims.go29 symbols
jws/jws_test.go17 symbols
jwt/jwt.go16 symbols
header.go16 symbols
jws/signing_methods_test.go15 symbols
jws/jws_validate.go14 symbols
crypto/none.go13 symbols
jws/jwt.go9 symbols
crypto/ecdsa.go8 symbols
jws/jws_serialize.go7 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add jose \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact