public interface JWKSetCache
Modifier and Type | Method and Description |
---|---|
JWKSet |
get()
Gets the cached JWK set.
|
void |
put(JWKSet jwkSet)
Puts the specified JWK set into the cache or clears the cache.
|
boolean |
requiresRefresh()
Returns
true if the cached JWK set requires a refresh. |
void put(JWKSet jwkSet)
jwkSet
- The JWK set to cache, null
to clear the cache.boolean requiresRefresh()
true
if the cached JWK set requires a refresh. This
should typically occur some time before the cache has expired, to
allow for transient retrieval exceptions before expiration.true
if the cached JWK set requires a refresh.Copyright © 2021 Connect2id Ltd.. All rights reserved.