github.com/golang-jwt/jwt/v5.Token.Header (field)
10 uses
github.com/golang-jwt/jwt/v5 (current package)
parser.go#L154: if err = json.Unmarshal(headerBytes, &token.Header); err != nil {
parser.go#L191: if method, ok := token.Header["alg"].(string); ok {
token.go#L33: Header map[string]interface{} // Header is the first segment of the token in decoded form
token.go#L49: Header: map[string]interface{}{
token.go#L81: h, err := json.Marshal(t.Header)
github.com/coinbase/cdp-sdk/go/auth
jwt.go#L104: token.Header["typ"] = "JWT"
jwt.go#L166: token.Header["kid"] = options.KeyID
jwt.go#L167: token.Header["nonce"] = hex.EncodeToString(nonce)
jwt.go#L206: token.Header["kid"] = options.KeyID
jwt.go#L207: token.Header["nonce"] = hex.EncodeToString(nonce)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |