MCPcopy
hub / github.com/golang-jwt/jwt

github.com/golang-jwt/jwt @v5.3.1 sqlite

262 symbols 702 edges 46 files 139 documented

Extension points exported contracts — how you extend this code

SigningMethod (Interface)
SigningMethod can be used add new methods for signing or verifying tokens. It takes a decoded signature as an input in t [5 implem
signing_method.go
ClaimsValidator (Interface)
ClaimsValidator is an interface that can be implemented by custom claims who wish to execute any additional claims valid [2 implem
validator.go
Extractor (Interface)
Extractor is an interface for extracting a token from an HTTP request. The ExtractToken method should return a token str [2 implem
request/extractor.go
Claims (Interface)
Claims represent any form of a JWT Claims Set according to https://datatracker.ietf.org/doc/html/rfc7519#section-4. In o [1 implem
claims.go
TokenOption (FuncType)
TokenOption is a reserved type, which provides some forward compatibility, if we ever want to introduce token creation-r
token_option.go
ParserOption (FuncType)
ParserOption is used to implement functional-style options that modify the behavior of the parser.
parser_option.go
Keyfunc (FuncType)
Keyfunc will be used by the Parse methods as a callback function to supply the key for verification. The function recei
token.go
ParseFromRequestOption (FuncType)
(no doc)
request/request.go

Core symbols highest fan-in

newError
called by 31
errors.go
Alg
called by 19
signing_method.go
Error
called by 16
errors.go
RegisterSigningMethod
called by 14
signing_method.go
Verify
called by 13
signing_method.go
ParseWithClaims
called by 12
parser.go

Shape

Function 146
Method 72
Struct 28
TypeAlias 7
Interface 5
FuncType 4

For agents

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

⬇ download graph artifact