Description

TimeFunc provides the current time when parsing token to validate "exp" claim (expiration time). You can override it to use another time value. This is useful for testing or if your server uses a different time zone than your tokens.

TimeFunc is referenced in 5 repositories

github.com/dgrijalva/jwt-go github.com/crewjam/saml github.com/koding/kite

...