jwt.go (etcd-3.5.5) | : | jwt.go (etcd-3.5.6) | ||
---|---|---|---|---|
skipping to change at line 24 | skipping to change at line 24 | |||
package auth | package auth | |||
import ( | import ( | |||
"context" | "context" | |||
"crypto/ecdsa" | "crypto/ecdsa" | |||
"crypto/rsa" | "crypto/rsa" | |||
"errors" | "errors" | |||
"time" | "time" | |||
jwt "github.com/form3tech-oss/jwt-go" | "github.com/golang-jwt/jwt/v4" | |||
"go.uber.org/zap" | "go.uber.org/zap" | |||
) | ) | |||
type tokenJWT struct { | type tokenJWT struct { | |||
lg *zap.Logger | lg *zap.Logger | |||
signMethod jwt.SigningMethod | signMethod jwt.SigningMethod | |||
key interface{} | key interface{} | |||
ttl time.Duration | ttl time.Duration | |||
verifyOnly bool | verifyOnly bool | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |