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

Method KeyID

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

KeyID returns the kid stamped on issued tokens (empty when disabled).

()

Source from the content-addressed store, hash-verified

63
64// KeyID returns the kid stamped on issued tokens (empty when disabled).
65func (s *Signer) KeyID() string {
66 if !s.Enabled() {
67 return ""
68 }
69 return s.kid
70}
71
72// Sign issues an RS256 JWT carrying the given claims, with the kid in the
73// header so verifiers can select the right JWKS entry. Returns

Callers 2

TestSign_RoundTripFunction · 0.95
mainFunction · 0.95

Calls 1

EnabledMethod · 0.95

Tested by 1

TestSign_RoundTripFunction · 0.76