Closed cbeav closed 2 years ago
For now, I've move the Crypto.JOSE.JWS
logic into its own file, to disambiguate the instances. But the problem still remains that I'm not sure how the instance in Crypto.JWT
would ever be used if needed :)
I believe that 49c327e604df98b66d8510387f6dfe6e4f54e811 has resolved this issue. If not, please re-open and include code that demonstrates the problem. Thanks!
Trying to do a simple JWT validation, and looking to use the
AnyValidated
policy. Here's what I've got:Simple enough. But the instance definitions for
HasValidationSettings
are giving me some trouble:This isn't a pattern I've seen before. Is there some trick to disambiguating the instances (exported from the same module), or am I missing something more basic here. Much appreciated!