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

Method VerifyWithMaxAge

internal/headers/signer.go:176–178  ·  view source on GitHub ↗
(h AuthHeaders, maxAge time.Duration)

Source from the content-addressed store, hash-verified

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

Callers 1

TestVerifyWithMaxAgeFunction · 0.95

Calls 1

VerifyWithMaxAgeFunction · 0.85

Tested by 1

TestVerifyWithMaxAgeFunction · 0.76