Versions in this module Expand all Collapse all v8 v8.0.0 Jun 24, 2022 Changes in this version + var TimeFunc = time.Now + type Claims struct + ExpirationTime int64 + Issuer string + JWTID string + NotBefore int64 + PayloadHash string + URLHash string + func (c Claims) Valid() error + type Validator struct + func NewValidator(signingKey string, opts ...ValidatorOption) *Validator + func (v *Validator) Validate(h http.Handler, baseURL string) http.Handler + func (v *Validator) ValidateRequest(r *http.Request, baseURL string) error + func (v *Validator) ValidateSignature(signature, url string, payload []byte) (jwt.Claims, error) + type ValidatorOption func(*Validator) + func SkipURLValidation() ValidatorOption Other modules containing this package github.com/messagebird/go-rest-api/v7 github.com/messagebird/go-rest-api/v9