vk-rv / pvx

PASETO implementation for Go programming language
https://vk-rv.github.io/pvx/
Other
34 stars 4 forks source link

Use of Claims interface #7

Open justinruggles opened 1 year ago

justinruggles commented 1 year ago

I find it inconvenient that encryption functions accept a Claims interface type, but the 1 interface method, Valid() error, is unused in those functions. It seems like it should accept any instead of Claims.