aidantwoods / go-paseto

Platform-Agnostic Security Tokens implementation in Golang.
https://pkg.go.dev/aidanwoods.dev/go-paseto
MIT License
284 stars 16 forks source link

Add support for custom token types through generics #39

Open aidantwoods opened 1 year ago

aidantwoods commented 1 year ago

This would be a breaking change, so if this is merged it'll be a major version bump. Unsure if I like this new API, so letting this sit for a bit.