Keats / jsonwebtoken

JWT lib in rust
MIT License
1.69k stars 271 forks source link

Multiple iss field validation check #172

Closed sabify closed 3 years ago

sabify commented 3 years ago

Hello,

Some providers like Google need to validate iss field against multiple values. It would be better to have HashSet type for iss field to validate multiple iss values instead of using multiple validation objects and multiple validations.

Keats commented 3 years ago

Can you do a PR with a hashset on https://github.com/Keats/jsonwebtoken/pull/160 ?

sabify commented 3 years ago

Done. #173