add verify overload - #162
Conversation
|
Hi @joprice Cheers, |
|
The use case is looking up the public key dynamically based on kid. |
|
@joprice I think it's confusing to have another Something like this: Please add the corresponding javadoc+tests. |
|
Before the above, I think you should look at this PR #149 as it adds support for |
|
I don't see an example of looking up a key based on an id. The provider interface doesn't take any input. |
|
@joprice will close this one since we rather improve on what @lbalmaceda mentioned for allowing using rotating keys. |
|
We'll try to provide an example in the README and here too |
|
Sounds good. |
This allows an already-decoded JWT to be used without decoding twice. This is useful, for instance, when the
kidis used to look up the public key.