MCPcopy
hub / github.com/dosco/graphjin / cloneJWTClaims

Function cloneJWTClaims

auth/jwt.go:85–91  ·  view source on GitHub ↗
(claims jwt.MapClaims)

Source from the content-addressed store, hash-verified

83}
84
85func cloneJWTClaims(claims jwt.MapClaims) map[string]interface{} {
86 out := make(map[string]interface{}, len(claims))
87 for k, v := range claims {
88 out[k] = v
89 }
90 return out
91}

Callers 1

JwtHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected