// Valid validates that the given claims are valid
Valid validates that the given claims are valid
// Valid validates that the given claims are valid
func (c *Claims) Valid() error {
	if c.ExpiredTime.Sub(time.Now().UTC()) < 0 {
		return ErrTokenClaimsExpired
	}
	return nil
}
func ( c * Claims ) Valid ( ) error { if c . ExpiredTime . Sub ( time . Now ( ) . UTC ( ) ) < 0 { return ErrTokenClaimsExpired } return nil }
Valid validates that the given claims are valid
Valid validates that the given claims are valid