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

Method Verify

internal/headers/signer.go:172–174  ·  view source on GitHub ↗
(h AuthHeaders)

Source from the content-addressed store, hash-verified

170}
171
172func (s *Signer) Verify(h AuthHeaders) bool {
173 return Verify([]string{string(s.secret)}, h)
174}
175
176func (s *Signer) VerifyWithMaxAge(h AuthHeaders, maxAge time.Duration) bool {
177 return VerifyWithMaxAge([]string{string(s.secret)}, h, maxAge)

Calls 1

VerifyFunction · 0.70