MCPcopy Create free account
hub / github.com/netlify/gotrue / getConfig

Function getConfig

api/context.go:77–83  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

75}
76
77func getConfig(ctx context.Context) *conf.Configuration {
78 obj := ctx.Value(configKey)
79 if obj == nil {
80 return nil
81 }
82 return obj.(*conf.Configuration)
83}
84
85// withInstanceID adds the instance id to the context.
86func withInstanceID(ctx context.Context, id uuid.UUID) context.Context {

Callers 2

SAMLMetadataMethod · 0.85
clearCookieTokenMethod · 0.85

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…