brycx / pasetors

PASETOrs: PASETO tokens in pure Rust
MIT License
83 stars 8 forks source link

Change `message` to be of type `&str` for `LocalToken` and `PublicToken` #99

Open brycx opened 11 months ago

brycx commented 11 months ago

As per discussion in #98, the function signatures for above two types should define message to be &str to correctly capture the spec requirement of payloads being valid UTF-8 data. As is currently the case for Claims.

This constitutes a SemVer breaking change.