Cache store interface for the new JWKSourceBuilder

Issue #505 new
Kenneth Leong created an issue

It seems that in latest version 9.29 the RemoteJWKSet and DefaultJWKSetCache classes have been deprecated.
Replaced with JWKSourceBuilder and setting the caching, retrying mechanisms there.

Here is my issue, before this deprecation i was extending the DefaultJWKSetCache and overridding the put function to save and retrieve saved JWK keysets from sharedpreference in Android.

With the deprecation of RemoteJWKSet and DefaultJWKSetCache, how can I save and retrieve a cached keyset from sharedpreferences with these new apis?

Or rather how do i supply my own cache implementation to the JWKSourceBuilder?

Comments (3)

  1. Log in to comment