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

Method agentAuthReady

internal/agent/agent_identity.go:42–44  ·  view source on GitHub ↗

agentAuthReady reports whether the agent-identity surface is usable: a signing key AND a public URL (needed for iss/aud) must both be configured.

()

Source from the content-addressed store, hash-verified

40// agentAuthReady reports whether the agent-identity surface is usable: a signing
41// key AND a public URL (needed for iss/aud) must both be configured.
42func (a *API) agentAuthReady() bool {
43 return a.signer != nil && a.signer.Enabled() && a.publicURL != ""
44}
45
46type identityAssertionResponse struct {
47 IdentityAssertion string `json:"identity_assertion"`

Callers 4

handleAgentIdentityMethod · 0.95
handleJWTBearerGrantMethod · 0.95
handleOAuthDiscoveryMethod · 0.95

Calls 1

EnabledMethod · 0.65

Tested by

no test coverage detected