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

Method Enabled

internal/agentauth/signing.go:62–62  ·  view source on GitHub ↗

Enabled reports whether a signing key is configured.

()

Source from the content-addressed store, hash-verified

60
61// Enabled reports whether a signing key is configured.
62func (s *Signer) Enabled() bool { return s != nil && s.priv != nil }
63
64// KeyID returns the kid stamped on issued tokens (empty when disabled).
65func (s *Signer) KeyID() string {

Callers 8

KeyIDMethod · 0.95
SignMethod · 0.95
PublicJWKSMethod · 0.95
TestSign_RoundTripFunction · 0.95
TestDisabledSignerFunction · 0.95
signTypedMethod · 0.95
VerifyTokenMethod · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestSign_RoundTripFunction · 0.76
TestDisabledSignerFunction · 0.76