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

Method Sign

internal/approvaltoken/token.go:146–148  ·  view source on GitHub ↗
(messageID, action string, exp time.Time)

Source from the content-addressed store, hash-verified

144}
145
146func (s *Signer) Sign(messageID, action string, exp time.Time) (string, error) {
147 return Sign(s.secret, messageID, action, exp)
148}
149
150func (s *Signer) Verify(token string) (*Claims, error) {
151 return Verify([]string{s.secret}, token)

Calls 1

SignFunction · 0.70