Tunables for the caching and verification policy. More...
Public Attributes | |
| std::chrono::seconds | fallback_ttl {std::chrono::hours{1}} |
| The lifetime to assume when the transport advertises none. | |
| std::chrono::seconds | minimum_ttl {std::chrono::minutes{5}} |
| The shortest lifetime honored, clamping smaller advertised values up. | |
| std::chrono::seconds | maximum_ttl {std::chrono::hours{24}} |
| The longest lifetime honored, clamping larger advertised values down. | |
| std::chrono::seconds | unknown_kid_cooldown {std::chrono::minutes{5}} |
| JWTClockSkew | clock_skew {} |
Tunables for the caching and verification policy.
| JWTClockSkew sourcemeta::core::JWKSProvider::Options::clock_skew {} |
The tolerance applied to time-based claims, uniform or per claim. Unlike the other fields, the default is zero tolerance, so set it deliberately when validating tokens minted by a clock that is not your own.
| std::chrono::seconds sourcemeta::core::JWKSProvider::Options::unknown_kid_cooldown {std::chrono::minutes{5}} |
The wait before another refetch is allowed after an unknown key identifier.