You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v2.0.0-beta2 - 16 Apr 2022
[jwk]
* Updated `jwk.Set` API and reflected pending changes from v1 which were
left over. Please see Changes-v2.md file for details.
* Added `jwk.CachedSet`, a shim over `jwk.Cache` that allows you to
have to write wrappers around `jwk.Cache` that retrieves a particular
`jwk.Set` out of it. You can use it to, for example, pass `jwk.CachedSet`
to a `jws.Verify`
cache := jwk.NewCache(ctx)
cache.Register(ctx, jwksURL)
cachedSet := jwk.NewCachedSet(cache, jwksURL)
jws.Verify(signed, jws.WithKeySet(cachedSet))
This discussion was created from the release v2.0.0-beta2.
I meant to release v2.0.0 this week, but because there were some more API changes that we had forgotten to apply, and also because we added jwk.CachedSet, I'm going to hold off releasing v2.0.0 for at least another week.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This discussion was created from the release v2.0.0-beta2.
I meant to release v2.0.0 this week, but because there were some more API changes that we had forgotten to apply, and also because we added
jwk.CachedSet
, I'm going to hold off releasing v2.0.0 for at least another week.Beta Was this translation helpful? Give feedback.
All reactions