shaj13 / go-guardian

Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.
MIT License
543 stars 55 forks source link

strategies/jwt: remove code code duplicate #95

Closed shaj13 closed 3 years ago

shaj13 commented 3 years ago

What version of Go are you using (go version)?

$ go version
1.13

Does this issue reproduce with the latest release?

no

What version of Go-Guardian are you using ?

Go-Guardian Version: v2.11.1

What did you do?

n/a

What did you expect to see?

strategies/jwt use internal/jwt

What did you see instead?

strategies/jwt parse/issue code duplicate with internal/jwt Related to https://github.com/shaj13/go-guardian/blob/master/auth/strategies/jwt/token.go#L54