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

Function NewSigner

internal/approvaltoken/token.go:142–144  ·  view source on GitHub ↗
(secret string)

Source from the content-addressed store, hash-verified

140}
141
142func NewSigner(secret string) *Signer {
143 return &Signer{secret: secret}
144}
145
146func (s *Signer) Sign(messageID, action string, exp time.Time) (string, error) {
147 return Sign(s.secret, messageID, action, exp)

Callers 11

newNotifierFunction · 0.92
TestSignVerifyRoundTripFunction · 0.92
TestVerifyRejectsExpiredFunction · 0.92
setupMagicLinkAPIFunction · 0.92
mainFunction · 0.92

Calls

no outgoing calls