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