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

Method ConfigByScopeID

net/jwt/service_generic.go:257–320  ·  view source on GitHub ↗

ConfigByScopeID returns the correct configuration for a scope and may fall back to the next higher scope: store -> website -> default. If `current` TypeID is Store, then the `parent` can only be Website or Default. If an entry for a scope cannot be found the next higher scope gets looked up and the

(current scope.TypeID, parent scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

NewTokenMethod · 0.95
ParseScopedMethod · 0.95
ConfigByScopedGetterMethod · 0.95

Calls 4

ValidParentMethod · 0.80
LockMethod · 0.80
isValidMethod · 0.45
TypeMethod · 0.45

Tested by

no test coverage detected