We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cbfb96 commit 8049c14Copy full SHA for 8049c14
jwk/cache.go
@@ -223,6 +223,10 @@ func (c *Cache) Unregister(ctx context.Context, u string) error {
223
return c.ctrl.Remove(ctx, u)
224
}
225
226
+func (c *Cache) Shutdown(ctx context.Context) error {
227
+ return c.ctrl.ShutdownContext(ctx)
228
+}
229
+
230
// CachedSet is a thin shim over jwk.Cache that allows the user to cloak
231
// jwk.Cache as if it's a `jwk.Set`. Behind the scenes, the `jwk.Set` is
232
// retrieved from the `jwk.Cache` for every operation.
0 commit comments