Interface JwksClientConfiguration
- All Known Implementing Classes:
JwksClientConfigurationProperties
public interface JwksClientConfiguration
Configuration for the retrieval of remote JSON Web Key Sets.
- Since:
- 4.18.2
- Author:
- Sergio del Amo
-
Method Details
-
getFailureBackoff
How long a remote JWK Set is not requested again after a retrieval failed or returned no keys. A zero or negative duration disables the back-off.- Returns:
- The failure back-off duration.
-
getRetrievalTimeout
How long a remote JWK Set retrieval may take before it is given up and treated as a failure. It bounds the retrieval shared by concurrent callers even when the underlyingJwksClienthas no timeout of its own. A zero or negative duration disables the timeout.- Returns:
- The retrieval timeout.
-