MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithKey

Function WithKey

net/jwt/options.go:94–130  ·  view source on GitHub ↗

WithKey sets the key for the default signing method of 256 bits. You can also provide your own signing method by using additionally the function WithSigningMethod(), which must be called after this function :-/.

(key csjwt.Key, scopeIDs ...scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

AlgorithmMethod · 0.80
initKeyFuncMethod · 0.80
IsEmptyMethod · 0.45
findScopedConfigMethod · 0.45
updateScopedConfigMethod · 0.45

Tested by

no test coverage detected