keyfunc icon indicating copy to clipboard operation
keyfunc copied to clipboard

Add a method to manually refresh the JWKS

Open MicahParks opened this issue 2 years ago • 1 comments

This new method should accept a boolean argument, ignoreRateLimit. If set to true, the method will refresh the JWKS ignoring the rate limit. If set to false, it would behave as a channel send currently does for *keyfunc.JWKS's refreshRequests field.

MicahParks avatar Jul 24 '22 14:07 MicahParks

Maybe it'd be best to make the method's argument a struct instead of a bool, since it's possible more options may be desirable in the future.

MicahParks avatar Jul 24 '22 14:07 MicahParks