Versions in this module Expand all Collapse all v0 v0.0.2 Jun 5, 2022 Changes in this version + type ParseOption func(parser *TokenParser) + func WithResetDuration(duration time.Duration) ParseOption + type TokenParser struct + func NewTokenParser(opts ...ParseOption) *TokenParser + func (tp *TokenParser) ParseToken(r *http.Request, secret, prevSecret string) (*jwt.Token, error)