MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / SetSigner

Method SetSigner

internal/agent/api.go:442–442  ·  view source on GitHub ↗

SetSigner wires the RS256 agent-token signer (Slice 5b). Optional — when nil or disabled, /.well-known/jwks.json serves an empty key set and the agent-identity token paths (later sub-slices) report "not enabled".

(s *agentauth.Signer)

Source from the content-addressed store, hash-verified

440// or disabled, /.well-known/jwks.json serves an empty key set and the
441// agent-identity token paths (later sub-slices) report "not enabled".
442func (a *API) SetSigner(s *agentauth.Signer) { a.signer = s }
443
444// SetOAuthStorage wires in the OAuth storage handle separately from
445// the provider. The consent handler needs Pool() to begin a pgx tx

Callers 3

jwksServerFunction · 0.95
newAgentIDFixtureFunction · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by 2

jwksServerFunction · 0.76
newAgentIDFixtureFunction · 0.76