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

Method Verify

internal/approvaltoken/token.go:150–152  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

148}
149
150func (s *Signer) Verify(token string) (*Claims, error) {
151 return Verify([]string{s.secret}, token)
152}
153
154func signMAC(secret, payload []byte) []byte {
155 mac := hmac.New(sha256.New, secret)

Calls 1

VerifyFunction · 0.70